Pārlūkot izejas kodu

Rolling back on the exclusion of portal users from the REST/JSON API. Let's communicate on this future change and leave some time for integrators to get ready for the change.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3268 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 gadi atpakaļ
vecāks
revīzija
43100b105d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      webservices/rest.php

+ 1 - 1
webservices/rest.php

@@ -96,7 +96,7 @@ try
 {
 	utils::UseParamFile();
 
-	$iRet = LoginWebPage::DoLogin(false, false, LoginWebPage::EXIT_RETURN);
+	$iRet = LoginWebPage::DoLogin(false, true, LoginWebPage::EXIT_RETURN);
 	if ($iRet != LoginWebPage::EXIT_CODE_OK)
 	{
 		switch($iRet)