Commit c20e7c5a authored by Nicolas Delaby's avatar Nicolas Delaby

redirection does not works after change password.

so logout the user.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27848 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6f1de526
...@@ -72,9 +72,7 @@ else:\n ...@@ -72,9 +72,7 @@ else:\n
\n \n
# clear erp5_content_short cache (see _authenticateCredentials in Products.ERP5Security.ERP5UserManager)\n # clear erp5_content_short cache (see _authenticateCredentials in Products.ERP5Security.ERP5UserManager)\n
context.portal_caches.clearCache((\'erp5_content_short\',))\n context.portal_caches.clearCache((\'erp5_content_short\',))\n
\n return context.logout()\n
return context.Base_redirect(form_id,\n
keep_items=dict(portal_status_message=msg))\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -135,7 +133,6 @@ return context.Base_redirect(form_id,\n ...@@ -135,7 +133,6 @@ return context.Base_redirect(form_id,\n
<string>_getitem_</string> <string>_getitem_</string>
<string>person</string> <string>person</string>
<string>msg</string> <string>msg</string>
<string>dict</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
1245 1246
\ No newline at end of file \ 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