[aur-dev] [PATCH 2/3] Remove duplicate slash in the password reset URL
archlinux at cryptocrack.de
archlinux at cryptocrack.de
Fri Nov 21 10:45:13 UTC 2014
From: Lukas Fleischer <archlinux at cryptocrack.de>
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
web/lib/acctfuncs.inc.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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" .
--
2.1.3
More information about the aur-dev
mailing list