Welcome Guest, Not a member yet? Register   Sign In
Logout and flashdata
#8

[eluser]WanWizard[/eluser]
Logged-in state in Ion-auth is controlled by
Code:
$this->ci->session->userdata($identity)

So technically, all you have to do is delete this session variable, and the user will no longer be logged in. Checking the code, simply removing the sess_destroy() call in the logout() method should be sufficient, it unsets all session variables used by Ion-auth.


Messages In This Thread
Logout and flashdata - by El Forum - 10-08-2010, 07:02 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:20 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:22 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:46 AM
Logout and flashdata - by El Forum - 10-08-2010, 07:58 AM
Logout and flashdata - by El Forum - 10-08-2010, 08:08 AM
Logout and flashdata - by El Forum - 10-08-2010, 08:25 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:06 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:21 AM
Logout and flashdata - by El Forum - 10-08-2010, 09:25 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:05 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:05 AM
Logout and flashdata - by El Forum - 10-08-2010, 11:09 AM
Logout and flashdata - by El Forum - 10-08-2010, 02:25 PM
Logout and flashdata - by El Forum - 10-08-2010, 04:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB