mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-31 06:26:14 +00:00
chg: [update v6.0.1] login lowercase
This commit is contained in:
parent
c2da1f5294
commit
4007bd1633
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def login():
|
||||||
return render_template("login.html", error=logging_error)
|
return render_template("login.html", error=logging_error)
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
username = request.form.get('username')
|
username = request.form.get('username', '').lower()
|
||||||
password = request.form.get('password')
|
password = request.form.get('password')
|
||||||
next_page = request.form.get('next_page')
|
next_page = request.form.get('next_page')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue