fix: persistent sessiebeheer (remember-me), HTTPS-cookie herstel en Microsoft OAuth signed state flow

This commit is contained in:
2026-09-08 15:28:57 +02:00
parent e1f50740aa
commit acef94536d
12 changed files with 278 additions and 29 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ if (!has_admin_user()) {
exit;
}
if (!empty($_SESSION['user_id']) && !empty($_SESSION['is_2fa_verified'])) {
$user = get_logged_in_user();
if ($user) {
header('Location: /planner.php');
exit;
}