fix last commit
parent
c3cf925fc9
commit
2c5db1b3b4
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue