Back to index

plone3  3.1.7
pwreset_constructURL.py
Go to the documentation of this file.
00001 ## Script (Python) "pwreset_constructURL.py"
00002 ##bind container=container
00003 ##bind context=context
00004 ##bind namespace=
00005 ##bind script=script
00006 ##bind subpath=traverse_subpath
00007 ##title=Create the URL where passwords are reset
00008 ##parameters=randomstring
00009 host = container.absolute_url()
00010 return "%s/passwordreset/%s" % (host, randomstring)