Use HTTPs for links in password reset confirmation mails.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-04-19 23:59:19 +02:00
parent 1e7b9d570d
commit 5ea9fc197d

View file

@ -67,7 +67,7 @@ if (isset($_GET['resetkey'], $_POST['email'], $_POST['password'], $_POST['confir
'your password follow the link below, otherwise ignore '. 'your password follow the link below, otherwise ignore '.
'this message and nothing will happen.'). 'this message and nothing will happen.').
"\n\n". "\n\n".
'http://aur.archlinux.org/passreset.php?'. 'https://aur.archlinux.org/passreset.php?'.
"resetkey={$resetkey}"; "resetkey={$resetkey}";
$body = wordwrap($body, 70); $body = wordwrap($body, 70);
$headers = "To: {$email}\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR"; $headers = "To: {$email}\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR";