CC-3970: Password Reset: No UI error msg for no mail server founded
-done
This commit is contained in:
parent
4077858c8e
commit
f433fd89fe
3 changed files with 19 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue