Merge pull request #570 from marc1706/ticket/569

[ticket/569] Do not display portal on login page if board is disabled
This commit is contained in:
Marc Alexander
2015-06-06 14:13:15 +02:00

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_');
} }
} }