mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
issue 641 retouch
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10973 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a6f9cc5401
commit
71a4b27c52
3 changed files with 10 additions and 9 deletions
|
|
@ -1059,10 +1059,17 @@
|
|||
|
||||
function procMemberResetAuthMail()
|
||||
{
|
||||
$existingEmail = Context::get('existingEmail');
|
||||
$memberInfo = $_SESSION['auth_member_info'];
|
||||
unset($_SESSION['auth_member_info']);
|
||||
|
||||
if(!$memberInfo)
|
||||
{
|
||||
return $this->stop('msg_invalid_request');
|
||||
}
|
||||
|
||||
$newEmail = Context::get('email_address');
|
||||
|
||||
if(!$newEmail || !$existingEmail)
|
||||
if(!$newEmail)
|
||||
{
|
||||
return $this->stop('msg_invalid_request');
|
||||
}
|
||||
|
|
@ -1074,12 +1081,6 @@
|
|||
return new Object(-1,'msg_exists_email_address');
|
||||
}
|
||||
|
||||
$memberInfo = $oMemberModel->getMemberInfoByEmailAddress($existingEmail);
|
||||
if(!$memberInfo)
|
||||
{
|
||||
return $this->stop('msg_invalid_request');
|
||||
}
|
||||
|
||||
// remove all key by member_srl
|
||||
$args->member_srl = $memberInfo->member_srl;
|
||||
$output = executeQuery('member.deleteAuthMail', $args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue