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
committed by Mike Johnston
parent 48c2d8552a
commit a04065bfce
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();
}