diff --git a/apiserver/plane/app/views/authentication.py b/apiserver/plane/app/views/authentication.py index d9e4b4af2..a41200d61 100644 --- a/apiserver/plane/app/views/authentication.py +++ b/apiserver/plane/app/views/authentication.py @@ -325,7 +325,7 @@ class MagicSignInEndpoint(BaseAPIView): ) user_token = request.data.get("token", "").strip() - key = request.data.get("key", False).strip().lower() + key = request.data.get("key", "").strip().lower() if not key or user_token == "": return Response(