diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-17 11:48:07 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-21 09:33:58 +0200 |
commit | 75923205afaba81968caf2e805c079b4f94a75d5 (patch) | |
tree | 949a9205ac0fc0daad68faa28e6528b281a235f0 /web/html/passreset.php | |
parent | ef1f3798a0d06fa5e3ba9ae9cda0d1000e4cc57b (diff) | |
download | aurweb-75923205afaba81968caf2e805c079b4f94a75d5.tar.xz |
Fix email body of password reset emails
When the password reset function was factored out in 5d31bb2 (Move reset
key submission to a separate function, 2013-03-19), a semicolon was
accidentally replaced by a concatenation operator. As a result of this,
all password reset emails sent since mid-2013 only contained a password
reset link without any description. Fix this by terminating the
assignment with a semicolon again.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/passreset.php')
-rw-r--r-- | web/html/passreset.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/passreset.php b/web/html/passreset.php index bc2eefc..fca3d10 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -49,7 +49,7 @@ if (isset($_GET['resetkey'], $_POST['email'], $_POST['password'], $_POST['confir $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.'). + 'this message and nothing will happen.'); send_resetkey($email, $subject, $body); header('Location: ' . get_uri('/passreset/') . '?step=confirm'); |