0
0
mirror of https://github.com/makeplane/plane synced 2024-06-14 14:31:34 +00:00

fix: key validation when magic sign in ()

This commit is contained in:
Nikhil 2024-01-18 16:04:04 +05:30 committed by sriram veeraghanta
parent 7263cb072c
commit 034f0a06db

View File

@ -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(