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

[eluser]davidjlynch[/eluser]
Hi Ben,

Sorry to trouble you again or anyone that can help, I am trying to validate if a password exists at login, currently you just get returned to the login page with no errors I have tried the following but with no success, can you help please;

Code:
public function password_check($password)
    {
        if ($this->ion_auth->login($password)){
            $this->form_validation->set_message('password_check', 'The password you entered does not exists.');
            return FALSE;
        } else{
            return TRUE;
        }
    }


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-20-2010, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB