From bfa238c056f31f36c00faad1c5995cbb8af3bd26 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 26 Jan 2025 14:04:11 +0200 Subject: feat!: Rework all views to be used with the router --- controllers/login.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'controllers/login.php') diff --git a/controllers/login.php b/controllers/login.php index 75c62ac..7502b03 100644 --- a/controllers/login.php +++ b/controllers/login.php @@ -1,9 +1,12 @@ UID); } else { - $status = "Incorrect password!"; + $user_status = "Incorrect password!"; } } catch(Exception $e) { - $status = "User \"" . $_POST["username"] . "\" doesn't exist!"; + $user_status = "User \"" . $_POST["username"] . "\" doesn't exist!"; } } -- cgit v1.2.3