Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixed ion_auth_model can't access ion_auth property when auto login. #46
In the Ion_auth class' __construct function, it load the ion_auth_model, and then check the auto-login, when calling $this->ci->ion_auth_model->login_remembered_user(), the Ion_auth class were not finished init.
So, in the Ion_auth_model's login_remembered_user function, it can't using
This line may cause the issue.
Sorry for my English, hope this help.
Thank you for looking into this. Since CI2.0 this is an outstanding bug but I haven't been able to reproduce. Can you do me a favor and determine if the error is from the isset() check for the extra _where in the login_remembered_user() or if it is that function call. I think it is an isset check somewhere.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Yeah, it form the isset() check for the extra _where, I delete some code like:
There are 2 places cause the error, the first is line 965, and the second is line 981, the