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()
|
||||
if account_exists:
|
||||
raise serializers.ValidationError(
|
||||
_("User is already registered with this e-mail address.")
|
||||
_("A user is already registered with this e-mail address.")
|
||||
)
|
||||
|
||||
login.lookup()
|
||||
|
|
Loading…
Reference in New Issue
Block a user