Commit f833dd05 authored by Fabien Morin's avatar Fabien Morin

pass user_login as parameter to the reset password url


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37905 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bd511663
......@@ -73,7 +73,8 @@ class PasswordTool(BaseTool):
# generate a random string
random_url = self._generateUUID()
parameter = urlencode(dict(reset_key=random_url))
parameter = urlencode(dict(reset_key=random_url,
user_login=user_login))
url = "%s/portal_password/%s?%s" % (
site_url,
'PasswordTool_viewResetPassword',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment