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;
}
}