Update legacy client login links to use the new unified login method

This commit is contained in:
johnnyq
2025-12-10 12:21:12 -05:00
parent 8b5f2e0f3f
commit 871ad2ea7e
6 changed files with 14 additions and 248 deletions

View File

@@ -16,13 +16,13 @@ if (!isset($_SESSION)) {
}
if (!isset($_SESSION['client_logged_in']) || !$_SESSION['client_logged_in']) {
header("Location: /client/login.php");
header("Location: /login.php");
die;
}
// Check user type
if ($_SESSION['user_type'] !== 2) {
header("Location: /client/login.php");
header("Location: /login.php");
exit();
}