diff --git a/thirdpart/shibboleth/backends.py b/thirdpart/shibboleth/backends.py index 47e15f184b..3183c05930 100644 --- a/thirdpart/shibboleth/backends.py +++ b/thirdpart/shibboleth/backends.py @@ -49,7 +49,7 @@ class ShibbolethRemoteUserBackend(RemoteUserBackend): if not local_ccnet_users: local_ccnet_users = ccnet_api.search_emailusers('LDAP', username, -1, -1) - if username not in [item.email for item in local_ccnet_users]: + if username.lower() not in [item.email for item in local_ccnet_users]: local_ccnet_users = [] if not local_ccnet_users: