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

[eluser]haseydesign[/eluser]
@jimsefton
Thanks for the good use of your eagle eye there Jim.
I'll make the changes on that very soon.

@Klausch
To test whether this is a bug with your version of FF, I've temporarily updated the live demo @ http://haseydesign.com/flexi-auth/auth so that the 'logout_user_onclose' also equals false.
Code:
$config[‘security’][‘logout_user_onclose’] = FALSE;

Can you please login to the demo using FF (With 'remember me' checked) and then close your browser, then reload the site on page http://haseydesign.com/flexi-auth/auth_l...e_examples.

The login method should go from 'User logged in via password' before close to 'User logged in via "Remember me"'.
Whilst the user is still logged in, they haven't validated their credentials via a password during this session, therefore, you can decide whether you wish to force the user to properly enter their password before performing specific actions within their account - for example, they must login properly before changing their email address.

For my version of FF (v15), this works fine.
If your own implementation is automatically logging you out, then maybe you have the native CI config option 'sess_expire_on_close' set to true (application/config.php). It needs to be like the following.
Code:
'$config['sess_expire_on_close'] = FALSE;

HTH


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 12-06-2012, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB