From df41daf71b332bf03f9ac1ab993be45878dc75f1 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Fri, 23 Jun 2023 17:28:21 +0530 Subject: [PATCH] fix: auth error messages (#1376) --- apiserver/plane/api/views/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/authentication.py b/apiserver/plane/api/views/authentication.py index 385ec7568..068fae5a9 100644 --- a/apiserver/plane/api/views/authentication.py +++ b/apiserver/plane/api/views/authentication.py @@ -72,7 +72,7 @@ class SignUpEndpoint(BaseAPIView): # Check if the user already exists if User.objects.filter(email=email).exists(): return Response( - {"error": "User already exist please sign in"}, + {"error": "User with this email already exists"}, status=status.HTTP_400_BAD_REQUEST, )