diff options
Diffstat (limited to 'actions')
-rw-r--r-- | actions/register.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php index 37e787c9d..aacc4fa7b 100644 --- a/actions/register.php +++ b/actions/register.php @@ -63,7 +63,7 @@ class RegisterAction extends Action { $this->show_form(_('Email address already exists.')); } else if ($password != $confirm) { $this->show_form(_('Passwords don\'t match.')); - } else { + } else if ($this->register_user($nickname, $password, $email)) { $user = $this->register_user($nickname, $password, $email); if (!$user) { $this->show_form(_('Invalid username or password.')); |