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

[eluser]davidjlynch[/eluser]
Hi Ben,

Once again thanks for the quick response, glad to see I'm not the only one working on a Sunday. I have tried the following but just get errors, the email_check works, but as I said password_check returns errors, could you possibly help further?

Code:
public function email_check($email)
    {
        if ($this->ion_auth->email_check($email)){
            $this->form_validation->set_message('email_check', 'The email "'.$email.'" already exists.');
            return FALSE;
        } else{
            return TRUE;
        }
    }
    
    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;
        }
    }

Once again thanks for all your help.


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-16-2010, 11:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB