diff options
author | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-12 22:47:54 -0400 |
---|---|---|
committer | Mike Cochrane <mikec@mikenz.geek.nz> | 2008-07-12 22:47:54 -0400 |
commit | 800c2e9a094681eff82aacdba6e5d22d547c4950 (patch) | |
tree | 6d4b556d3bcca3eb2895602d06ad5657c77e8550 /actions | |
parent | 11df464ec467971c7421d6c3bc7e68268a44c409 (diff) |
Fixed non openid registration
darcs-hash:20080713024754-533db-af3dbd6186df4ce27caa7c25d0752d3e7afa184a.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/register.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/register.php b/actions/register.php index aacc4fa7b..28b122bc9 100644 --- a/actions/register.php +++ b/actions/register.php @@ -63,8 +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 if ($this->register_user($nickname, $password, $email)) { - $user = $this->register_user($nickname, $password, $email); + } else if ($user = $this->register_user($nickname, $password, $email)) { if (!$user) { $this->show_form(_('Invalid username or password.')); return; |