print v.id when formkey comparison error

pull/227/head
Aevann 2024-05-25 03:33:06 +03:00
parent e69e9ac2c7
commit c3cf925fc9
1 changed files with 1 additions and 0 deletions

View File

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