Welcome Guest, Not a member yet? Register   Sign In
Testing Ion Auth

Hi, Guys.

I've been testing Ion Auth which looks very simple however I'm trying to test the remember me option but I'm not sure how it should work. In the config file I'm setting some values like this:

$config['remember_users'] = true;
$config['user_expire'] = 10;
$config['user_extend_on_login'] = false;

So, I'm setting the 'user_expire' to 10 seconds but nothing happend after that time, It keeps logged in, It is supposed to kill the session and send me to the login area again, right? Someone knows what I'm doing wrong?

Thanks in advance.

[eluser]Ben Edmunds[/eluser]
It won't force a logout after that time, it just won't auto-login.

I definitely wouldn't recommend that short of a timeout but you can change your CI session timeout to logout a user.

Hi, Ben.

Thanks for the reply. I'm just testing the behavior to check how It works. So How I could make It work properly? I mean I wanna be sure It won't auto-login?

[eluser]Ben Edmunds[/eluser]
Just set

$config[‘remember_users’]    = false;

Theme © iAndrew 2016 - Forum software by © MyBB