Commit 13752de1 authored by Fabien Morin's avatar Fabien Morin

should be part of r37806 :

don't use portal_object url but self this permit to stay
on web_site context in case of web_mode.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37830 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 78edcb2b
......@@ -103,7 +103,7 @@ class PasswordTool(BaseTool):
random_url = self._generateUUID()
parameter = urlencode(dict(reset_key=random_url))
url = "%s/portal_password/%s?%s" % (
self.getPortalObject().absolute_url(),
self.absolute_url(),
'PasswordTool_viewResetPassword',
parameter)
# generate expiration date
......
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