fix: key validation when magic sign in (#3403)
This commit is contained in:
parent
7263cb072c
commit
034f0a06db
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue