summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-11-21 11:38:26 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-11-21 11:43:31 +0100
commite0c1caece593eeaeb1a75b368dff31c96d332b46 (patch)
tree731421410f05da454b24d40e8dee801619bce1a6
parent888b8d471f3ac3501144ab7ed3b9adbbf213037b (diff)
downloadaurweb-e0c1caece593eeaeb1a75b368dff31c96d332b46.tar.xz
Remove duplicate slash in the password reset URL
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/lib/acctfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 1d38fe1..5e83f42 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -660,7 +660,7 @@ function send_resetkey($email, $subject, $body) {
/* Send e-mail with confirmation link. */
$body = wordwrap($body, 70);
- $body .= "\n\n". aur_location() . "/" . get_uri('/passreset/') .
+ $body .= "\n\n". aur_location() . get_uri('/passreset/') .
"?resetkey={$resetkey}";
$headers = "MIME-Version: 1.0\r\n" .
"Content-type: text/plain; charset=UTF-8\r\n" .