From 322578383cdf6159fa9911272735f328e070c5c8 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 14 Nov 2013 19:52:02 +0100 Subject: [PATCH] [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 --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 04570b68ccf..580c1c9b083 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -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)