Commit ec5e07c0 authored by Nicolas Delaby's avatar Nicolas Delaby

Avoid storing password_confirm on created person

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24682 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 51a15064
......@@ -82,6 +82,8 @@ person_function = kw.get(\'function\', \'\')\n
person_site = kw.get(\'site\', \'\')\n
person_role = kw.get(\'role\', \'\')\n
kw.setdefault(\'reference\', kw[\'default_email_text\'])\n
if \'password_confirm\' in kw:\n
del kw[\'password_confirm\']\n
\n
# create Person account\n
person_module = context.getPortalObject().person_module\n
......@@ -175,6 +177,7 @@ return website.Base_redirect(\'view\', \n
<string>person_site</string>
<string>person_role</string>
<string>_getitem_</string>
<string>_write_</string>
<string>person_module</string>
<string>_apply_</string>
<string>person</string>
......
715
\ No newline at end of file
716
\ No newline at end of file
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