-
This commit is contained in:
parent
bd5ede08fb
commit
1908833642
2
app.py
2
app.py
@ -28,7 +28,7 @@ def login_post():
|
||||
username = request.form['username']
|
||||
password = request.form['password']
|
||||
|
||||
auth_token = db.login()
|
||||
auth_token = db.login(username, password)
|
||||
if auth_token is None:
|
||||
flash('Nieprawidłowa nazwa użytkownika lub hasło.', 'error')
|
||||
return redirect(url_for('/'))
|
||||
|
Loading…
Reference in New Issue
Block a user