From 272678b8cd7a5035b56e0aa05a7ad979b8e971f6 Mon Sep 17 00:00:00 2001 From: jf-cbd Date: Fri, 20 Mar 2026 16:30:53 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B09361=20-=20Indicate=20to=20itop=20admin?= =?UTF-8?q?=20concerned=20by=208543=20that=20changes=20could=20be=20requir?= =?UTF-8?q?ed=20in=20extension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/exec.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/exec.php b/pages/exec.php index f0e17e8660..1d960602ad 100644 --- a/pages/exec.php +++ b/pages/exec.php @@ -115,6 +115,7 @@ if (is_array($aModuleDelegatedAuthenticationEndpointsList) && !in_array($sPage, LoginWebPage::DoLoginEx(); } if (is_null($aModuleDelegatedAuthenticationEndpointsList) && !UserRights::IsLoggedIn()) { + require_once(APPROOT.'/application/startup.inc.php'); // check if user is not logged in, if not log a warning in the log file as the page is executed without login, which is not recommended for security reason IssueLog::Debug("The '$sPage' page is executed without logging in. This call will be blocked in the future and will likely cause unwanted behaviour in the '$sModule' module. Please define a delegated authentication endpoint for the module, as described at https://www.itophub.io/wiki/page?id=latest:customization:new_extension#security."); }