cleanup
This commit is contained in:
parent
8ce8faaf5d
commit
dd8ef449e4
@ -94,11 +94,6 @@ def login(request):
|
|||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
username = login_form.username.data
|
username = login_form.username.data
|
||||||
|
|
||||||
if login_form.validate():
|
|
||||||
user = check_login_simple(username, login_form.password.data)
|
|
||||||
|
|
||||||
username = login_form.data['username']
|
|
||||||
|
|
||||||
if login_form.validate():
|
if login_form.validate():
|
||||||
user = check_login_simple(username, login_form.password.data)
|
user = check_login_simple(username, login_form.password.data)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user