Final fixes

This commit is contained in:
Fossil
2015-06-16 12:57:19 +02:00
parent 7e17e49d4e
commit 58b3caf231
+2 -2
View File
@@ -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 <strong>" . $newpass ."</strong> 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;