From 02e7df7631e0ec08cc3890a0d4202ed6f5331585 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 22 May 2014 15:32:52 +0200 Subject: 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 --- web/html/passreset.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/html/passreset.php') diff --git a/web/html/passreset.php b/web/html/passreset.php index 6fade6b..9541021 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(); -- cgit v1.2.3-54-g00ecf