#963: For security reasons, "Portal users" are no longer allowed to use the REST/JSON API.

SVN:trunk[3627]
This commit is contained in:
Denis Flaven
2015-07-07 13:56:19 +00:00
parent 4ee78ea59c
commit 1070283349

View File

@@ -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)