r11099 Added a check logic to member controller.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11101 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-08-27 08:45:59 +00:00
parent a738206cdf
commit d7e4cdf1d2
2 changed files with 18 additions and 9 deletions

View file

@ -220,8 +220,7 @@
return $this->stop('msg_not_logged');
}
$_SESSION['rechecked_password'] = FALSE;
$_SESSION['rechecked_password_step'] = TRUE;
$_SESSION['rechecked_password_step'] = 'INPUT_PASSWORD';
$templateFile = $this->getTemplatePath().'rechecked_password.html';
if(!is_readable($templateFile))
@ -249,13 +248,13 @@
**/
function dispMemberModifyInfo()
{
if(!$_SESSION['rechecked_password'])
if($_SESSION['rechecked_password_step'] != 'VALIDATE_PASSWORD')
{
$this->dispMemberModifyInfoBefore();
return;
}
$_SESSION['rechecked_password'] = FALSE;
$_SESSION['rechecked_password_step'] = 'INPUT_DATA';
$member_config = $this->member_config;