Add X-Frame-Options to login pages & client portal

This commit is contained in:
Marcus Hill
2023-02-05 18:43:50 +00:00
parent 8bcd759444
commit e8c9e63a7b
4 changed files with 7 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ if (!isset($_SESSION)) {
session_start();
}
if (!$_SESSION['client_logged_in']) {
if (!isset($_SESSION['client_logged_in']) || !$_SESSION['client_logged_in']) {
header("Location: login.php");
die;
}