Browse Source

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 năm trước cách đây
mục cha
commit
43100b105d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)