|
@ -45,7 +45,7 @@ class Home(main.Home): |
|
|
try: |
|
|
try: |
|
|
self._bind_http_remote_user(http.request.session.db) |
|
|
self._bind_http_remote_user(http.request.session.db) |
|
|
except http.AuthenticationError: |
|
|
except http.AuthenticationError: |
|
|
return werkzeug.exceptions.Unauthorized() |
|
|
|
|
|
|
|
|
return werkzeug.exceptions.Unauthorized().get_response() |
|
|
return super(Home, self).web_client(s_action, **kw) |
|
|
return super(Home, self).web_client(s_action, **kw) |
|
|
|
|
|
|
|
|
def _get_user_id_from_attributes(self, res_users, cr): |
|
|
def _get_user_id_from_attributes(self, res_users, cr): |
|
|