mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 13:32:16 +09:00
issue 641 update email and resend auth mail.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10970 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f4aa1350bf
commit
78e0330b21
6 changed files with 193 additions and 49 deletions
|
|
@ -382,10 +382,28 @@
|
|||
/**
|
||||
* @brief Page of re-sending an authentication mail
|
||||
**/
|
||||
function dispMemberResendAuthMail() {
|
||||
if(Context::get('is_logged')) return $this->stop('already_logged');
|
||||
function dispMemberResendAuthMail()
|
||||
{
|
||||
$authMemberSrl = $_SESSION['auth_member_srl'];
|
||||
unset($_SESSION['auth_member_srl']);
|
||||
|
||||
$this->setTemplateFile('resend_auth_mail');
|
||||
if(Context::get('is_logged'))
|
||||
{
|
||||
return $this->stop('already_logged');
|
||||
}
|
||||
|
||||
if($authMemberSrl)
|
||||
{
|
||||
$oMemberModel = &getModel('member');
|
||||
$memberInfo = $oMemberModel->getMemberInfoByMemberSrl($authMemberSrl);
|
||||
|
||||
Context::set('memberInfo', $memberInfo);
|
||||
$this->setTemplateFile('reset_mail');
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->setTemplateFile('resend_auth_mail');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue