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):
|
def post(self, request):
|
||||||
try:
|
try:
|
||||||
user_token = request.data.get("token", "").strip().lower()
|
user_token = request.data.get("token", "").strip()
|
||||||
key = request.data.get("key", False)
|
key = request.data.get("key", False)
|
||||||
|
|
||||||
if not key or user_token == "":
|
if not key or user_token == "":
|
||||||
|
Loading…
Reference in New Issue
Block a user