diff options
author | Mario <mario@mariovavti.com> | 2021-04-09 09:49:36 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-09 09:49:36 +0000 |
commit | 01b081d809d128e0922fb404921f452c51c2ddb2 (patch) | |
tree | db100aa4c3b257943b95ab192514a8a93cfa6ba9 /Zotlabs/Module/Sse_bs.php | |
parent | a34d8852b6695086ef3c9f5ff882d0d033f7d4a5 (diff) | |
download | volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.tar.gz volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.tar.bz2 volse-hubzilla-01b081d809d128e0922fb404921f452c51c2ddb2.zip |
register: only return verified registrations in get_pending_accounts(), more invite handling fixes
Diffstat (limited to 'Zotlabs/Module/Sse_bs.php')
-rw-r--r-- | Zotlabs/Module/Sse_bs.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Sse_bs.php b/Zotlabs/Module/Sse_bs.php index 271d040fd..cc67c8eb7 100644 --- a/Zotlabs/Module/Sse_bs.php +++ b/Zotlabs/Module/Sse_bs.php @@ -688,6 +688,10 @@ class Sse_bs extends Controller { if(! self::$uid && ! is_site_admin()) return $result; + $policy = intval(get_config('system','register_policy')); + if(($policy & REGISTER_APPROVE) != REGISTER_APPROVE) + return $result; + if(! (self::$vnotify & VNOTIFY_REGISTER)) return $result; |