[IMP] ir_http: authentification method can redirect to an other page
This commit is contained in:
@@ -87,7 +87,7 @@ class ir_http(osv.AbstractModel):
|
||||
# let them bubble up
|
||||
request.session.logout(keep_db=True)
|
||||
getattr(self, "_auth_method_%s" % auth_method)()
|
||||
except (openerp.exceptions.AccessDenied, openerp.http.SessionExpiredException):
|
||||
except (openerp.exceptions.AccessDenied, openerp.http.SessionExpiredException, werkzeug.exceptions.HTTPException):
|
||||
raise
|
||||
except Exception:
|
||||
_logger.exception("Exception during request Authentication.")
|
||||
|
||||
Reference in New Issue
Block a user