Просмотр исходного кода

Ticket #4496 - OAuth2 Server: Wrong response format when redirect URI is incorrect.

AntonLV 3 лет назад
Родитель
Сommit
a35ccc6c36
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      modules/boonex/oauth2/classes/BxOAuthModule.php

+ 1 - 0
modules/boonex/oauth2/classes/BxOAuthModule.php

@@ -331,6 +331,7 @@ class BxOAuthModule extends BxDolModule
             require_once(BX_DIRECTORY_PATH_INC . 'design.inc.php');
             $o = json_decode($oResponse->getResponseBody());
             $this->_oTemplate->getPage(false, MsgBox($o->error_description));
+            return;
         }
 
         if (!isLogged()) {