Hi
when doing a recover password I would like the system to check if the users account is still active before sending a email and pop up a message to say "contact system admin" then return to login page when click on on
Tried this but didnt work
// User RecoverPassword event
public function userRecoverPassword($rs)
{
// Return false to abort
if ($rs['Activated'] = 'N') {
$this->ErrorMessage("Your account has not been activated.");
return FALSE;
}
return true;
}
any ideas
thanks