admin-portal/_authenticate.php
Frederico Falcao f2a6525224 init
2025-05-30 10:46:17 +01:00

8 lines
148 B
PHP

<?php
session_start();
if (!isset($_SESSION["authenticated"]) || $_SESSION["authenticated"] !== true ) {
header("Location: /login.php");
exit;
}