Browse Source

auth_from_http_remote_user: remove unneeded browse

pull/34/head
Stéphane Bidoul 11 years ago
parent
commit
5e79ce29dc
  1. 1
      auth_from_http_remote_user/controllers/main.py

1
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:

Loading…
Cancel
Save