From f8b817c4e1038a77f400e76e36c3afd8531e2229 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Tue, 7 May 2024 21:42:12 -0500 Subject: [PATCH] Fix wrong exception check on login page --- www/sessions/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/sessions/post.php b/www/sessions/post.php index 50a04c4b..f291d91a 100644 --- a/www/sessions/post.php +++ b/www/sessions/post.php @@ -33,7 +33,7 @@ try{ header('Location: ' . $session->Url); } } -catch(Exceptions\InvalidLoginException $ex){ +catch(Exceptions\AppException $ex){ if($requestType == WEB){ $_SESSION['email'] = $email; $_SESSION['redirect'] = $redirect;