From 4007bd1633e52f0756fe68bd7c5ef6ca36f5507b Mon Sep 17 00:00:00 2001 From: terrtia Date: Thu, 23 Jan 2025 10:26:03 +0100 Subject: [PATCH] chg: [update v6.0.1] login lowercase --- var/www/blueprints/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/www/blueprints/root.py b/var/www/blueprints/root.py index 90e25c65..2c30f519 100644 --- a/var/www/blueprints/root.py +++ b/var/www/blueprints/root.py @@ -70,7 +70,7 @@ def login(): return render_template("login.html", error=logging_error) if request.method == 'POST': - username = request.form.get('username') + username = request.form.get('username', '').lower() password = request.form.get('password') next_page = request.form.get('next_page')