Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]joytopia[/eluser]
Ben,

at the moment the cookies $identity and $remember_code are not set.
It has something to do with the db->update in private function remember_user($id).

When I take away the if statement, the cookies are set:

Line 933 ion_auth_model.php:
Code:
$this->db->update($this->tables['users'], array('remember_code' => $salt), array('id' => $id));
        
        //if ($this->db->affected_rows() == 1)
        if (true)
        {            
            $identity = array('name'   => 'identity',
                 ...

Best regards
Bernd


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 04-03-2010, 08:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB