diff --git a/App/Controllers/Home.php b/App/Controllers/Home.php index ad37262..be3f3d6 100644 --- a/App/Controllers/Home.php +++ b/App/Controllers/Home.php @@ -110,7 +110,8 @@ class Home $password = $args['password']; $user = $this->access->showAll($table, [ - ['username', '=', $username] + ['username', '=', $username], + ['status', '!=', 1] ]); if ($user == false) { $info = "Invalid username/password";