a bunch of stuff happened. I'll do better next commit...

This commit is contained in:
2026-10-09 08:24:28 -04:00
parent bf8ad6a858
commit 4bceed7cb9
27 changed files with 540 additions and 112 deletions
+10 -2
View File
@@ -2,7 +2,15 @@
require_once "classes/Base.php";
session_start();
session_name('DECAUTHY_SESSION');
session_start([
'use_strict_mode' => true,
'use_only_cookies' => true,
'cookie_httponly' => true,
'cookie_secure' => !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off',
'cookie_samesite' => 'Lax',
]);
header('Cache-Control: no-store');
(new Base())->do();
?>
?>