Skip to content

Commit

Permalink
fix: key validation when magic sign in (#3403)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar authored and sriramveeraghanta committed Jan 22, 2024
1 parent 7263cb0 commit 034f0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/plane/app/views/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def post(self, request):
)

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(
Expand Down

0 comments on commit 034f0a0

Please sign in to comment.