removed extra argument from check_login_simple in login view
This commit is contained in:
parent
d90f44d2a4
commit
d1c9ef47c4
@ -100,7 +100,7 @@ def login(request):
|
|||||||
username = login_form.data['username']
|
username = login_form.data['username']
|
||||||
|
|
||||||
if login_form.validate():
|
if login_form.validate():
|
||||||
user = check_login_simple(username, login_form.password.data, True)
|
user = check_login_simple(username, login_form.password.data)
|
||||||
|
|
||||||
if user:
|
if user:
|
||||||
# set up login in session
|
# set up login in session
|
||||||
|
Loading…
x
Reference in New Issue
Block a user