fix last commit

pull/227/head
Aevann 2024-05-25 03:36:34 +03:00
parent c3cf925fc9
commit 2c5db1b3b4
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ def get_logged_in_user():
if v and request.method != "GET":
submitted_key = request.values.get("formkey")
g.v = v
if v:
g.username = v.username
if not validate_formkey(v, submitted_key):
v = None
else: