Skip to content

Commit

Permalink
chg: [update v6.0.1] login lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 23, 2025
1 parent c2da1f5 commit 4007bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/www/blueprints/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 4007bd1

Please sign in to comment.