From 54df1ab3469ec066a9d82421379a341c7615fdd3 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 17 Jun 2026 21:32:18 +0200 Subject: [PATCH] asdasd --- public/auth/logout/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/auth/logout/index.php b/public/auth/logout/index.php index 992fb3a0..13e8e5f3 100644 --- a/public/auth/logout/index.php +++ b/public/auth/logout/index.php @@ -12,10 +12,10 @@ session_start(); $projectRoot = dirname(__DIR__, 3); $auth = new KeycloakAuth(ConfigLoader::load($projectRoot, 'keycloak')); $logoutUrl = null; -$target = trim((string) ($_GET['target'] ?? '/auth/keycloak')); +$target = trim((string) ($_GET['target'] ?? '/')); if ($target === '' || !str_starts_with($target, '/')) { - $target = '/auth/keycloak'; + $target = '/'; } if ($auth->isConfigured()) {