Commit 60e6b7eb authored by Gabriel Monnerat's avatar Gabriel Monnerat

rename variable to overwrite person_list when it is None. With this, the...

rename variable to overwrite person_list when it is None. With this, the destination_decision_value_list is set correctly on the Credential Recovery
parent aabccc4f
...@@ -76,7 +76,7 @@ if default_email_text is not None:\n ...@@ -76,7 +76,7 @@ if default_email_text is not None:\n
portal_status_message = context.Base_translateString("Can\'t find corresponding person, it\'s not possible to update your credentials.")\n portal_status_message = context.Base_translateString("Can\'t find corresponding person, it\'s not possible to update your credentials.")\n
return context.Base_redirect(\'login_form\', keep_items = dict(portal_status_message=portal_status_message ))\n return context.Base_redirect(\'login_form\', keep_items = dict(portal_status_message=portal_status_message ))\n
\n \n
person_url_list = [x.getObject().getParentValue() for x in result]\n person_list = [x.getObject().getParentValue() for x in result]\n
\n \n
# Create recovery\n # Create recovery\n
message = "We have sent you an email containing your username(s). Please check your inbox and your junk/spam mail for this email."\n message = "We have sent you an email containing your username(s). Please check your inbox and your junk/spam mail for this email."\n
......
409 410
\ 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