summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/passreset.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/web/html/passreset.php b/web/html/passreset.php
index 29f2c64..cb2f6bc 100644
--- a/web/html/passreset.php
+++ b/web/html/passreset.php
@@ -46,14 +46,7 @@ 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 %s 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.', $username);
- send_resetkey($email, $subject, $body);
-
+ send_resetkey($email);
header('Location: ' . get_uri('/passreset/') . '?step=confirm');
exit();
}