This commit is contained in:
Aevann1 2021-10-12 08:00:24 +02:00
parent 3e1a4eb3a7
commit 5416438173
3 changed files with 10 additions and 17 deletions

View file

@ -236,8 +236,7 @@ def sign_up_post(v):
form_formkey = request.values.get("formkey", "none")
submitted_token = session.get("signup_token", "")
if not submitted_token:
abort(400)
if not submitted_token: abort(400)
correct_formkey_hashstr = form_timestamp + submitted_token + agent