mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
d062634ce2
commit
02e7df7631
2 changed files with 7 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue