From 1e8c00f6fe24a7a047552914e9d350a3359d60b1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 26 May 2022 21:15:24 +0200 Subject: [PATCH] fsd --- files/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/login.py b/files/routes/login.py index 07c6d19910..3cc58bdb52 100644 --- a/files/routes/login.py +++ b/files/routes/login.py @@ -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,