diff --git a/install/steps/7-finish.php b/install/steps/7-finish.php index f37e1646..a2f083dc 100644 --- a/install/steps/7-finish.php +++ b/install/steps/7-finish.php @@ -66,7 +66,6 @@ else { $new_account->setPassword(encrypt($password)); $new_account->setEMail($email); - $new_account->unblock(); $new_account->save(); $new_account->setCustomField('created', time()); diff --git a/system/pages/createaccount.php b/system/pages/createaccount.php index 9f7b895a..63b3ed43 100644 --- a/system/pages/createaccount.php +++ b/system/pages/createaccount.php @@ -165,7 +165,6 @@ if($save) $new_account->setPassword(encrypt($password)); $new_account->setEMail($email); - $new_account->unblock(); $new_account->save(); if($config_salt_enabled)