[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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user