Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]haseydesign[/eluser]
@cure85
Thanks for letting us know of this bug, I've pushed a fix to the repo with a credit to you in the commit message.

Just a pointer to the solution code you posted yourself. If should actually be cookie_name instead of session_name
Code:
if (get_cookie($this->auth->cookie_name['login_session_token']) != $hash_session_token)

Thanks again!

----------------------------------

@Shinamee
I'm afraid I can't provide you with any further ideas on what the problem maybe, as my own attempts at using the feature work for me.

However, to debug the problem, I would suggest you look into the 'forgotten_password_complete()' method within the 'libraries/Flexi_auth.php' file.
You want to find out what is preventing the method from returning TRUE, and is instead setting the error message of:
Code:
$this->CI->flexi_auth_model->set_error_message('password_token_invalid', 'config');


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 06-18-2013, 05:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB