Ion Auth - Lightweight Auth System based on Redux Auth 2 |
[eluser]Ben Edmunds[/eluser]
Your model looks good. Is there anywhere else that you are redirecting? If not I would try commenting out that code in the constructor to see if thats the issue.
[eluser]ReyPM[/eluser]
No I' just redirecting in the constructor and if I comment the code in the constructor then any can enter to the controller and I don't want that. You said "try commenting out that code in the constructor" which code? which constructor?
[eluser]Ben Edmunds[/eluser]
Comment out Code: if (!$this->ion_auth->logged_in()) { I know it'll leave it open, this is just a test to make sure this is the issue.
[eluser]ReyPM[/eluser]
I test earlier and say you works fine, see this post http://ellislab.com/forums/viewreply/1044075/
[eluser]Ben Edmunds[/eluser]
There's no way the update model you're calling is doing that as far as I can see. You might have to step through and put some debugging code in the logged_in() method to see what's up... Sorry but I really cant tell what's up so you'll need to just troubleshoot it.
[eluser]Unknown[/eluser]
Hi Ben, Loving ion auth! Went through the docs but couldn't find any information on my problem.. To add a user I'm not using the ion auth forms. My co-worker made the front end part and I'm having problems creating the sha1 passwords. I turned off the salt but it still doesn't seem to work. Any help would be greatly appreciated ![]()
[eluser]paul-s-[/eluser]
Got to love Ion_Auth which is now securing the admin area to a new website I am doing - thanks Ben. I've implemented the Remember me functionality and have a question over cookie security. I've noticed that I can easily edit the cookie expiry date for the cookies used for the remember me functionality so I am wondering if I am doing something wrong? Is this normal or should I have set something in the config that would add an expiry date of some kind or other into the randomised code or set the code expiry time in the users table? Any thoughts would be most welcome.
[eluser]jmadsen[/eluser]
I wrote up a little explanation of using hooks with Ion Auth that I hope will help folks out http://www.codebyjeff.com/blog/2013/01/u...h-ion_auth
[eluser]anhsk.ohbo[/eluser]
hey all! I'm doing working with my project using CI and ion_auth. Now, I want create a user_profile table container infomation of the user. And call to user simple like : $this->ion_auth->user(); But I have not found a way to solve this problem. anyone can give me how to solve? Sorry my english is a little poorly ![]() |
Welcome Guest, Not a member yet? Register Sign In |