From 843d2d12a0d017d78437b4d052560031768ae2e5 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Fri, 25 Aug 2023 16:38:34 +1000 Subject: [PATCH] main: Fixed login typo --- master/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/master/main.py b/master/main.py index 733e91c..ad3a760 100644 --- a/master/main.py +++ b/master/main.py @@ -461,7 +461,7 @@ def admin(): @app.route('/login', methods=['POST']) -def admin(): +def login(): if request.method == 'POST': # Handle login print('Login attempt', flush=True)