mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Remove unnecessary error code when email confirmation is required
This commit is contained in:
parent
de9a5bce35
commit
42496b0176
1 changed files with 2 additions and 4 deletions
|
|
@ -868,15 +868,13 @@ class MemberController extends Member
|
|||
$this->setRedirectUrl($config->redirect_url);
|
||||
if ($config->enable_confirm === 'Y')
|
||||
{
|
||||
$msg = sprintf(lang('msg_confirm_mail_sent'), $args->email_address);
|
||||
return new BaseObject(-12, $msg);
|
||||
$this->setMessage(sprintf(lang('msg_confirm_mail_sent'), $args->email_address));
|
||||
}
|
||||
}
|
||||
elseif($config->enable_confirm === 'Y')
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl('', 'act', 'dispMemberLoginForm'));
|
||||
$msg = sprintf(lang('msg_confirm_mail_sent'), $args->email_address);
|
||||
return new BaseObject(-12, $msg);
|
||||
$this->setMessage(sprintf(lang('msg_confirm_mail_sent'), $args->email_address));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue