Skip to content
Snippets Groups Projects
Commit 96d690f8 authored by Alexander Pace's avatar Alexander Pace
Browse files

fix for user logins with shibboleth

parent ba422316
No related branches found
No related tags found
1 merge request!97fix for user logins with shibboleth
Pipeline #497609 passed
......@@ -56,6 +56,8 @@ class ShibbolethWebAuthMiddleware(PersistentRemoteUserMiddleware):
# in the header (for some reason)
if (username is None or username == '(null)'):
return
else:
username = username.lower()
# If shib headers are available and the user is already authenticated,
# double-check that the request user and the shib user are the same.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment