aboutsummaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index 081a4e454..556bad4cd 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -24,7 +24,7 @@ if (is_array($admin)) {
$admin = $admin[0];
}
-if (!$CONFIG->disable_registration) {
+if ($CONFIG->allow_registration) {
// For now, just try and register the user
try {
$guid = register_user($username, $password, $name, $email, false, $friend_guid, $invitecode);