Skip to content

Commit

Permalink
#953 Ability to restrict posting links for certain membership levels
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTr committed Dec 18, 2017
1 parent d21e5a6 commit df4b619
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions template/scripts/BxBaseFormLogin.php
Expand Up @@ -20,6 +20,9 @@ public function __construct($aInfo, $oTemplate)

$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)) {

Expand Down

0 comments on commit df4b619

Please sign in to comment.