cleanup
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user