aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/register.php')
-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;