From 58b3caf231194cd97fa418f10884fdb9bf304c70 Mon Sep 17 00:00:00 2001 From: Fossil Date: Tue, 16 Jun 2015 12:57:19 +0200 Subject: [PATCH] Final fixes --- www/pages/forgottenpassword.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pages/forgottenpassword.php b/www/pages/forgottenpassword.php index 025cee2ff..cb091d4ce 100644 --- a/www/pages/forgottenpassword.php +++ b/www/pages/forgottenpassword.php @@ -29,9 +29,9 @@ switch($action) { $to = $ret["email"]; $subject = $page->settings->getSetting('title') . " Password Reset"; $contents = "Your password has been reset to " . $newpass; + $onscreen = "Your password has been reset to " . $newpass ." and sent to your e-mail address."; Utility::sendEmail($to, $subject, $contents, $page->settings->getSetting('email')); - // Print new password to the screen so users dont have to check e-mail. - $page->smarty->assign('notice', $contents . " and sent to your e-mail address."); + $page->smarty->assign('notice', $onscreen); $page->smarty->assign('confirmed', "true"); break;