From 65c69e3769d2ca3680367c9b52096a56e9da652e Mon Sep 17 00:00:00 2001 From: hbrain Date: Mon, 25 May 2026 22:28:05 +0200 Subject: [PATCH] Make basic auth logout change realm --- logout.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/logout.php b/logout.php index 608a09b..4069d07 100644 --- a/logout.php +++ b/logout.php @@ -1,10 +1,12 @@ time() + 31536000, + 'path' => '/mvlog', + 'secure' => $secure, + 'httponly' => true, + 'samesite' => 'Lax', +]); header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0'); -?> -Log off MVLog - -

Logging off…

If your browser keeps the session, close the browser tab/window.

- - +header('Location: index.php'); +exit;