diff options
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/passreset.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/html/passreset.php b/web/html/passreset.php index 6fade6b9..9541021c 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -41,11 +41,12 @@ if (isset($_GET['resetkey'], $_POST['email'], $_POST['password'], $_POST['confir if (empty($email)) { $error = __('Missing a required field.'); } else { + $subject = 'AUR Password Reset'; $body = __('A password reset request was submitted for the account '. 'associated with your e-mail address. If you wish to reset '. 'your password follow the link below, otherwise ignore '. 'this message and nothing will happen.'). - send_resetkey($email, $body); + send_resetkey($email, $subject, $body); header('Location: ' . get_uri('/passreset/') . '?step=confirm'); exit(); |