mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #11251 from selten/patch-6
Make OIDC email matching case-insensitive
This commit is contained in:
@@ -6136,7 +6136,7 @@ class UserAuthnzToken(UserMixin, RepresentById):
|
||||
|
||||
@classmethod
|
||||
def get_users_by_email(cls, email):
|
||||
return cls.user_query().filter_by(email=email)
|
||||
return cls.user_query().filter(func.lower(User.table.c.email) == email.lower())
|
||||
|
||||
@classmethod
|
||||
def get_social_auth(cls, provider, uid):
|
||||
|
||||
Reference in New Issue
Block a user