From 8ffe49b595de457a0e9329a274060e827734edba Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sat, 12 Jul 2008 08:39:42 -0400 Subject: [PATCH] Error I made merging a diff darcs-hash:20080712123942-533db-21fa41076dd7b57935f49462423f247ccbb01e8f.gz --- actions/register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/register.php b/actions/register.php index 37e787c9d0..aacc4fa7b4 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.')); -- 2.39.5