[WEB-1319] chore: instance not ready pages improvement (#4492)

* chore: instance not ready pages improvement

* fix: magic sign up

* chore: issue mutation spinner and command k spinner updated

* chore: forgot password email input disabled

* chore: forgot password email input disabled revert

* chore: unused asset removed
This commit is contained in:
Anmol Singh Bhatia 2024-05-16 23:41:30 +05:30 committed by GitHub
parent 9bf1863f33
commit 33079c826d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 91 additions and 52 deletions

View file

@ -188,7 +188,7 @@ class MagicSignUpEndpoint(View):
return HttpResponseRedirect(url)
# Existing user
existing_user = User.objects.filter(email=email).first()
if not existing_user:
if existing_user:
exc = AuthenticationException(
error_code=AUTHENTICATION_ERROR_CODES["USER_ALREADY_EXIST"],
error_message="USER_ALREADY_EXIST",