X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Plinn.git/blobdiff_plain/125a6289be7a631a256f948bda5415451aca6d98..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/skins/generic/password_reset_form.py?ds=inline diff --git a/skins/generic/password_reset_form.py b/skins/generic/password_reset_form.py deleted file mode 100644 index b783b63..0000000 --- a/skins/generic/password_reset_form.py +++ /dev/null @@ -1,19 +0,0 @@ -##parameters=validate='' -from Products.CMFCore.utils import getUtilityByInterfaceName -utool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IURLTool') -atool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IActionsTool') - -form = context.REQUEST.form -uuid = traverse_subpath[0] - -if validate and \ - context.validatePassword(**form) and \ - context.reset_password_control(uuid=uuid, **form) and \ - context.setRedirect(atool, 'user/join', ajax=form.get('ajax')) : - return - -options = {} -options['uuid'] = uuid -options['action'] = '%s/password_reset_form/%s' % (utool(), uuid) - -return context.password_reset_template(**options) \ No newline at end of file