mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 10:33:45 +03:00
Same error message for socialLogin
user already registered
This commit is contained in:
parent
624ad01afb
commit
fbe5846ac4
|
@ -136,7 +136,7 @@ class SocialLoginSerializer(serializers.Serializer):
|
||||||
).exists()
|
).exists()
|
||||||
if account_exists:
|
if account_exists:
|
||||||
raise serializers.ValidationError(
|
raise serializers.ValidationError(
|
||||||
_("User is already registered with this e-mail address.")
|
_("A user is already registered with this e-mail address.")
|
||||||
)
|
)
|
||||||
|
|
||||||
login.lookup()
|
login.lookup()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user