diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-05-22 15:32:52 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-05-22 15:43:41 +0200 |
commit | 02e7df7631e0ec08cc3890a0d4202ed6f5331585 (patch) | |
tree | 12370d6bf34253d411377ab8bb0c8213b613a39e /web/html | |
parent | d062634ce2e8aff74d65faf5d3394e429bb2de63 (diff) | |
download | aur-02e7df7631e0ec08cc3890a0d4202ed6f5331585.tar.gz aur-02e7df7631e0ec08cc3890a0d4202ed6f5331585.tar.xz |
Be friendly to newly registered users
Use "Welcome to the Arch User Repository" instead of "AUR Password
Reset" as subject for the initial password reset email.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
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(); |