deploy
This commit is contained in:
@@ -41,6 +41,16 @@ if ($auth->isAuthenticated()) {
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
!$auth->isAuthenticated()
|
||||
&& $auth->isConfigured()
|
||||
&& empty($_SESSION['desktop_silent_sso_attempted'])
|
||||
) {
|
||||
$_SESSION['desktop_silent_sso_attempted'] = true;
|
||||
header('Location: /auth/keycloak/?mode=silent', true, 302);
|
||||
exit;
|
||||
}
|
||||
|
||||
$app = new App($projectRoot);
|
||||
$desktopPayload = $app->desktopPayload();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user