better MULTI_USER_MODE

This commit is contained in:
Massimo Di Pierro
2012-03-26 16:15:29 -05:00
parent 1017b68c1f
commit 4f17616b0f
4 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ if request.args:
URL(_a,'mercurial','commit',args=_t)))
if not session.authorized:
response.menu = [(T('Login'), True, '')]
response.menu = [(T('Login'), True, URL('site'))]
else:
response.menu.append((T('Logout'), False,
URL(_a,'default',f='logout')))