We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3996199c authored by Evan Prodromou's avatar Evan Prodromou

some better breaks on error entry

parent e119b295
......@@ -200,7 +200,7 @@ class EmailregisterAction extends Action
'<a href="%s">password recovery</a> tool to recover a missing password.'),
common_local_url('recoverpassword'));
$this->showRegistrationForm();
break;
return;
}
$valid = false;
......@@ -213,6 +213,7 @@ class EmailregisterAction extends Action
if (!$valid) {
$this->error = _('Not a valid email address.');
$this->showRegistrationForm();
return;
}
$confirm = Confirm_address::getAddress($this->email, self::CONFIRMTYPE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment