From fbe5846ac44699ae1792f9c44f3bac356a3a4952 Mon Sep 17 00:00:00 2001 From: Allan Nozomu Fukasawa Date: Wed, 26 Jun 2019 14:25:48 -0300 Subject: [PATCH] Same error message for socialLogin user already registered --- rest_auth/registration/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_auth/registration/serializers.py b/rest_auth/registration/serializers.py index 4f99c18..ff56a4b 100644 --- a/rest_auth/registration/serializers.py +++ b/rest_auth/registration/serializers.py @@ -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()