X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFriendica.php;h=fe4c846c92047ec438c2ba5d21c8acda7e515b76;hb=e1863951986ba5be173758324a00652bc5af870c;hp=1bd6bd411e9172cd2dacd3d2848f1e5c6030d200;hpb=9f18222a061342e3587ee6f38c4543d00948c0b8;p=friendica.git diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php index 1bd6bd411e..fe4c846c92 100644 --- a/src/Module/Friendica.php +++ b/src/Module/Friendica.php @@ -94,8 +94,7 @@ class Friendica extends BaseModule $blockList = $this->config->get('system', 'blocklist') ?? []; - $register_policy_int = $this->config->get('config', 'register_policy'); - if (!empty($blockList) && ($register_policy_int !== Register::CLOSED || $this->session->isAuthenticated())) { + if (!empty($blockList) && ($this->config->get('blocklist', 'public') || $this->session->isAuthenticated())) { $blocked = [ 'title' => $this->t('On this server the following remote servers are blocked.'), 'header' => [