Commit 5a9f1cb0 authored by Łukasz Nowak's avatar Łukasz Nowak

- revert 45092 as it generated wrong BT5


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45101 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d5ef761b
...@@ -65,16 +65,10 @@ if len(result) != 1:\n ...@@ -65,16 +65,10 @@ if len(result) != 1:\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 = result[0]\n person = result[0]\n
#If any question, we can create directly the credential recovery\n return context.Base_redirect(\'ERP5Site_newCredentialRecoveryDialog\', keep_items = \\\n
question_free_text = person.getDefaultCredentialQuestionQuestionFreeText()\n dict(default_credential_question_question_free_text=person.getDefaultCredentialQuestionQuestionFreeText(),\n
question_title = person.getDefaultCredentialQuestionQuestionTitle()\n default_credential_question_question_title=person.getDefaultCredentialQuestionQuestionTitle(),\n
if not (question_free_text or question_title):\n reference=reference))\n
return context.ERP5Site_newCredentialRecovery(reference=reference)\n
\n
return context.Base_redirect('ERP5Site_newCredentialRecoveryDialog', keep_items = \\\n
dict(default_credential_question_question_free_text=question_free_text,\n
default_credential_question_question_title=question_title,\n
reference=reference))\
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
324 325
\ 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