CC-3970: Password Reset: No UI error msg for no mail server founded

-done
This commit is contained in:
denise 2012-06-13 16:04:57 -04:00
parent 4077858c8e
commit f433fd89fe
3 changed files with 19 additions and 6 deletions

View file

@ -31,7 +31,9 @@ class Application_Model_Auth {
$message = "Click this link: {$e_link_protocol}://{$e_link_base}{$e_link_path}";
Application_Model_Email::send('Airtime Password Reset', $message, $user->getDbEmail());
$success = Application_Model_Email::send('Airtime Password Reset', $message, $user->getDbEmail());
return $success;
}
public function invalidateTokens($user, $action)
@ -97,4 +99,4 @@ class Application_Model_Auth {
return $string;
}
}
}