N°5215 - Portal insufficient access control for ajax search form

This commit is contained in:
Benjamin Dalsass
2022-06-07 11:14:26 +02:00
parent 3ea82e37d5
commit 34bed5ec4f

View File

@@ -37,7 +37,7 @@ try
$oKPI->ComputeAndReport('Data model loaded');
$oKPI = new ExecutionKPI();
if (LoginWebPage::EXIT_CODE_OK != LoginWebPage::DoLoginEx(null /* any portal */, false, LoginWebPage::EXIT_RETURN))
if (LoginWebPage::EXIT_CODE_OK != LoginWebPage::DoLoginEx('backoffice', false, LoginWebPage::EXIT_RETURN))
{
throw new SecurityException('You must be logged in');
}