소스 검색

#953 Ability to restrict posting links for certain membership levels

Alex Trofimov 8 년 전
부모
커밋
df4b61995c
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      template/scripts/BxBaseFormLogin.php

+ 3 - 0
template/scripts/BxBaseFormLogin.php

@@ -20,6 +20,9 @@ class BxBaseFormLogin extends BxTemplFormView
 
         $aNoRelocatePages = array('forgot-password', 'login', 'create-account', 'logout');
 
+        if (isset($this->aInputs['ID']))
+            $this->aInputs['ID']['skip_domain_check'] = true;
+
         $sRelocate = bx_process_input(bx_get('relocate'));
         if (!$sRelocate && isset($_SERVER['HTTP_REFERER']) && 0 === mb_stripos($_SERVER['HTTP_REFERER'], BX_DOL_URL_ROOT)) {