aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-09 21:13:48 -0700
committerfriendica <info@friendica.com>2014-07-09 21:13:48 -0700
commit9a96ae041f7536e320ae009ba48a5363361c38b6 (patch)
tree4044543f528866255264f8e00165d22839ef0498 /mod
parentfa706c8e860d4057f401b3ca0dff04fb8aa47363 (diff)
downloadvolse-hubzilla-9a96ae041f7536e320ae009ba48a5363361c38b6.tar.gz
volse-hubzilla-9a96ae041f7536e320ae009ba48a5363361c38b6.tar.bz2
volse-hubzilla-9a96ae041f7536e320ae009ba48a5363361c38b6.zip
make sure we don't block new folks if there's a different register policy and the hub admin turns on email verify
Diffstat (limited to 'mod')
-rw-r--r--mod/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/register.php b/mod/register.php
index 2a6e16a6d..954a32fbf 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -75,7 +75,7 @@ function register_post(&$a) {
break;
}
- if($email_verify)
+ if($email_verify && $policy == REGISTER_OPEN)
$flags = $flags | ACCOUNT_UNVERIFIED;