Anniversary

This commit is contained in:
2026-01-26 10:31:32 +01:00
parent c3ba14c8b0
commit 7e149d0c1a
12 changed files with 671 additions and 610 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ function require_login(?string $loginPage = '/login.php'): void
}
if (empty($_SESSION['user'])) {
// URL de la page courante (ex: /christmas-list.php?foo=bar)
// URL de la page courante (ex: /gift-list.php?foo=bar)
$currentUrl = $_SERVER['REQUEST_URI'] ?? '/';
// On redirige vers la page de login en ajoutant ?redirect=...