CC-4283: Password Reset: Please let user input username they want to reset

-done
This commit is contained in:
denise 2012-08-24 12:40:30 -04:00
parent ffa4c131ee
commit dc8e3da6db
4 changed files with 34 additions and 7 deletions

View file

@ -30,7 +30,8 @@ class Application_Model_Auth
$e_link_port = $_SERVER['SERVER_PORT'];
$e_link_path = $view->url(array('user_id' => $user->getDbId(), 'token' => $token), 'password-change');
$message = "Click this link: {$e_link_protocol}://{$e_link_base}:{$e_link_port}{$e_link_path}";
$message = "Hi {$user->getDbLogin()}, \n\nClick this link to reset your password: ";
$message .= "{$e_link_protocol}://{$e_link_base}:{$e_link_port}{$e_link_path}";
$success = Application_Model_Email::send('Airtime Password Reset', $message, $user->getDbEmail());