main: Fixed login typo
This commit is contained in:
parent
8f962804a4
commit
843d2d12a0
@ -461,7 +461,7 @@ def admin():
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/login', methods=['POST'])
|
@app.route('/login', methods=['POST'])
|
||||||
def admin():
|
def login():
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
# Handle login
|
# Handle login
|
||||||
print('Login attempt', flush=True)
|
print('Login attempt', flush=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user