Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix __iexact call. Closes #617

  • Loading branch information...
commit 2ef7287d9b554560b7223035b9c153fa6b2dd90d 1 parent cb6f9a5
@omab authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  social_auth/backends/pipeline/associate.py
View
2  social_auth/backends/pipeline/associate.py
@@ -17,7 +17,7 @@ def associate_by_email(details, user=None, *args, **kwargs):
# objects are returned
# Allow case-insensitive match, since real-world email address is case-insensitive
try:
- return {'user': UserSocialAuth.get_user_by_email(email__iexact=email)}
+ return {'user': UserSocialAuth.get_user_by_email(email=email)}
except MultipleObjectsReturned:
raise AuthException(kwargs['backend'], 'Not unique email address.')
except ObjectDoesNotExist:
Please sign in to comment.
Something went wrong with that request. Please try again.