summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--login.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/login.php b/login.php
index d380017b..b2df3237 100644
--- a/login.php
+++ b/login.php
@@ -120,13 +120,9 @@ if (($_POST['username'] && $_POST['password']) ||
}
else {
$auth['success'] = false;
- Error::add('general', _('Unable to create new account'));
+ Error::add('general', _('Unable to create local account'));
}
} // End if auto_create
- elseif (!$user->username) {
- $auth['success'] = false;
- Error::add('general', _('No local account found'));
- }
} // if we aren't in demo mode