#769 이메일 주소 변경 시 비밀번호 확인

This commit is contained in:
akasima 2014-06-03 16:16:46 +09:00
parent 199ce6360b
commit c4881ba915
3 changed files with 23 additions and 2 deletions

View file

@ -578,7 +578,14 @@ class memberView extends member
function dispMemberModifyEmailAddress()
{
if(!Context::get('is_logged')) return $this->stop('msg_not_logged');
if($_SESSION['rechecked_password_step'] != 'VALIDATE_PASSWORD' && $_SESSION['rechecked_password_step'] != 'INPUT_DATA')
{
Context::set('success_return_url', getUrl('', 'mid', Context::get('mid'), 'act', 'dispMemberModifyEmailAddress'));
$this->dispMemberModifyInfoBefore();
return;
}
$_SESSION['rechecked_password_step'] = 'INPUT_DATA';
$this->setTemplateFile('modify_email_address');
}