[FIX] web: it's better if the route allowing users to log in is accessible without being logged in.

bzr revid: chs@openerp.com-20131114185202-yyhg7opc004hte02
This commit is contained in:
Christophe Simonis
2013-11-14 19:52:02 +01:00
parent 2172b12817
commit 322578383c
+1 -1
View File
@@ -564,7 +564,7 @@ class Home(http.Controller):
}
return request.make_response(r, {'Cache-Control': 'no-cache', 'Content-Type': 'text/html; charset=utf-8'})
@http.route('/login', type='http', auth="user")
@http.route('/login', type='http', auth="none")
def login(self, db, login, key):
return login_and_redirect(db, login, key)