some better breaks on error entry
This commit is contained in:
parent
e119b295c0
commit
3996199c6a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user