forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-05-26 21:15:24 +02:00
parent 64c3b489e3
commit 1e8c00f6fe
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def login_post():
return redirect("/login")
if not account.validate_2fa(request.values.get("2fa_token", "").strip()):
hash = generate_hash(f"{account.id}+{time}+2fachallenge")
hash = generate_hash(f"{account.id}+{now}+2fachallenge")
return render_template("login_2fa.html",
v=account,
time=now,