forked from github/plane
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