make sure we don't block new folks if there's a different register policy and the hub admin turns on email verify

This commit is contained in:
friendica 2014-07-09 21:13:48 -07:00
parent fa706c8e86
commit 9a96ae041f

View File

@ -75,7 +75,7 @@ function register_post(&$a) {
break;
}
if($email_verify)
if($email_verify && $policy == REGISTER_OPEN)
$flags = $flags | ACCOUNT_UNVERIFIED;