From a68b1654982fc2120cc34c16b39f4f7db006e173 Mon Sep 17 00:00:00 2001 From: jf-cbd Date: Tue, 10 Mar 2026 10:35:40 +0100 Subject: [PATCH] Remove unecessary case --- pages/exec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/exec.php b/pages/exec.php index 506695b61d..e81ab6b155 100644 --- a/pages/exec.php +++ b/pages/exec.php @@ -103,7 +103,7 @@ if ($sTargetPage === false) { require_once(APPROOT.'/application/startup.inc.php'); $aModuleDelegatedAuthenticationEndpoints = GetModuleDelegatedAuthenticationEndpoints($sModule); -if (is_null($aModuleDelegatedAuthenticationEndpoints) || !in_array($sPage, $aModuleDelegatedAuthenticationEndpoints)) { +if (is_null($aModuleDelegatedAuthenticationEndpoints)) { $bForceLoginWhenNoDelegatedAuthenticationEndpoints = MetaModel::GetConfig()->Get('security.force_login_when_no_delegated_authentication_endpoints_list'); if ($bForceLoginWhenNoDelegatedAuthenticationEndpoints) { LoginWebPage::DoLoginEx();