summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 15:32:52 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-05-22 15:43:41 +0200
commit02e7df7631e0ec08cc3890a0d4202ed6f5331585 (patch)
tree12370d6bf34253d411377ab8bb0c8213b613a39e /web/html
parentd062634ce2e8aff74d65faf5d3394e429bb2de63 (diff)
downloadaur-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.php3
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();