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')