Browse Source

[IMP] Log http headers if the expected key is not found

pull/457/head
Laurent Mignon (ACSONE) 8 years ago
committed by Laurent Mignon
parent
commit
5ce6bac805
  1. 3
      auth_from_http_remote_user/controllers/main.py

3
auth_from_http_remote_user/controllers/main.py

@ -55,6 +55,9 @@ class Home(main.Home):
if not login:
# no HTTP_REMOTE_USER header,
# continue usual behavior
_logger.debug("Required fields '%s' not found in http"
" headers\n %s",
self._REMOTE_USER_ATTRIBUTE, headers)
return
request_login = request.session.login

Loading…
Cancel
Save