From 5e79ce29dcdb6d7c4f6283ff387f5c1c9523c202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 4 Aug 2014 17:53:24 +0200 Subject: [PATCH] auth_from_http_remote_user: remove unneeded browse --- auth_from_http_remote_user/controllers/main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/auth_from_http_remote_user/controllers/main.py b/auth_from_http_remote_user/controllers/main.py index f91d50508..5214f125d 100644 --- a/auth_from_http_remote_user/controllers/main.py +++ b/auth_from_http_remote_user/controllers/main.py @@ -93,7 +93,6 @@ class Home(main.Home): # generate a specific key for authentication key = randomString(utils.KEY_LENGTH, '0123456789abcdef') res_users.write(cr, SUPERUSER_ID, [user_id], {'sso_key': key}) - login = res_users.browse(cr, SUPERUSER_ID, user_id).login request.session.authenticate(db_name, login=login, password=key, uid=user_id) except http.AuthenticationError, e: