mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
#963: For security reasons, "Portal users" are no longer allowed to use the REST/JSON API.
SVN:trunk[3627]
This commit is contained in:
@@ -96,7 +96,7 @@ try
|
||||
{
|
||||
utils::UseParamFile();
|
||||
|
||||
$iRet = LoginWebPage::DoLogin(false, true, LoginWebPage::EXIT_RETURN);
|
||||
$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
|
||||
if ($iRet != LoginWebPage::EXIT_CODE_OK)
|
||||
{
|
||||
switch($iRet)
|
||||
|
||||
Reference in New Issue
Block a user