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.'),
|
'<a href="%s">password recovery</a> tool to recover a missing password.'),
|
||||||
common_local_url('recoverpassword'));
|
common_local_url('recoverpassword'));
|
||||||
$this->showRegistrationForm();
|
$this->showRegistrationForm();
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$valid = false;
|
$valid = false;
|
||||||
@ -213,6 +213,7 @@ class EmailregisterAction extends Action
|
|||||||
if (!$valid) {
|
if (!$valid) {
|
||||||
$this->error = _('Not a valid email address.');
|
$this->error = _('Not a valid email address.');
|
||||||
$this->showRegistrationForm();
|
$this->showRegistrationForm();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$confirm = Confirm_address::getAddress($this->email, self::CONFIRMTYPE);
|
$confirm = Confirm_address::getAddress($this->email, self::CONFIRMTYPE);
|
||||||
|
Loading…
Reference in New Issue
Block a user