This commit is contained in:
Jay Trees 2022-01-14 10:08:11 +01:00
parent e416a916be
commit 975efd3f25

View file

@ -27,6 +27,7 @@ class Page
*/
if (!isset($_SESSION['user']) && isset($_GET['page']) && 'login' !== $_GET['page']) {
header('Location: /?page=login');
die();
}
}