[ticket/569] Do not display portal on login page if board is disabled

B3P-569
This commit is contained in:
Marc Alexander
2015-06-06 13:54:36 +02:00
parent a7ee21e621
commit 4e3cbbc378

View File

@@ -173,6 +173,6 @@ class listener implements EventSubscriberInterface
*/ */
protected function board_disabled() protected function board_disabled()
{ {
return $this->config['board_disable'] && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$this->auth->acl_gets('a_', 'm_') && !$this->auth->acl_getf_global('m_'); return $this->config['board_disable'] && !defined('SKIP_CHECK_DISABLED') && !$this->auth->acl_gets('a_', 'm_') && !$this->auth->acl_getf_global('m_');
} }
} }