mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: magic code casing (#1519)
This commit is contained in:
parent
61ad6b9e0e
commit
411a661abd
@ -345,7 +345,7 @@ class MagicSignInEndpoint(BaseAPIView):
|
||||
|
||||
def post(self, request):
|
||||
try:
|
||||
user_token = request.data.get("token", "").strip().lower()
|
||||
user_token = request.data.get("token", "").strip()
|
||||
key = request.data.get("key", False)
|
||||
|
||||
if not key or user_token == "":
|
||||
|
Loading…
Reference in New Issue
Block a user