Revert "N°5753 - exposer l'API Rest dans le SaaS - ugly way of passing API scope to rest.php during login"

This reverts commit 49748a0374.
This commit is contained in:
odain
2022-12-21 14:38:45 +01:00
parent 1c3dfd6491
commit 973c435138

View File

@@ -96,7 +96,7 @@ try
utils::UseParamFile();
$oKPI->ComputeAndReport('Data model loaded');
\Combodo\iTop\Application\Helper\Session::Set("ENDPOINT_CATEGORY", 'WEBSERVICE');
$iRet = LoginWebPage::DoLogin(false, false, LoginWebPage::EXIT_RETURN); // Starting with iTop 2.2.0 portal users are no longer allowed to access the REST/JSON API
$oKPI->ComputeAndReport('User login');