Skip to content

Commit

Permalink
casefold reset
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Apr 5, 2024
1 parent 627c990 commit 664b975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameserver/models/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _can_reset(cls, request: HttpRequest):
[
request.user.is_authenticated,
request.user.is_staff,
request.GET.get("reset", "") == "true",
request.GET.get("reset", "").casefold() == "true",
]
)

Expand Down

0 comments on commit 664b975

Please sign in to comment.