Commit 9761002d authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix submitLogout() using the new API


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@44959 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b1400840
......@@ -541,8 +541,7 @@ class MainForm(Form):
"""
Perform logout.
"""
self.submitFavourite('select_favorite', 'Base_doFavorite:method',
name='logout')
self.submitSelectFavourite(value='/logout')
class ContextMainForm(MainForm):
"""
......
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