changeset 5372:4a406029ad23

fix password reset url (email content needs full URL)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 11 Dec 2009 22:57:15 +0100
parents 437558fff184
children 7c9372ef5428
files MoinMoin/user.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/user.py	Thu Dec 10 10:37:12 2009 +0100
+++ b/MoinMoin/user.py	Fri Dec 11 22:57:15 2009 +0100
@@ -1012,11 +1012,11 @@
 
 Password recovery token: %s
 
-Password reset URL: %s/?action=recoverpass&name=%s&token=%s
+Password reset URL: %s?action=recoverpass&name=%s&token=%s
 """) % (
                         self.name,
                         tok,
-                        self._request.script_root,
+                        self._request.url_root,
                         url_quote_plus(self.name),
                         tok, )