diff --git a/product/ERP5/Tool/PasswordTool.py b/product/ERP5/Tool/PasswordTool.py index 70e36afa7c5c34f2a5c9e483e49e1e4877fbd642..59334db697a8b4db678fe6922f50afc414639a3b 100644 --- a/product/ERP5/Tool/PasswordTool.py +++ b/product/ERP5/Tool/PasswordTool.py @@ -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',