asdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 23s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-17 21:32:18 +02:00
parent dbb317927a
commit 54df1ab346

View File

@@ -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()) {