|
@@ 1146-1154 (lines=9) @@
|
| 1143 |
|
$args->auth_key = $auth_key; |
| 1144 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 1145 |
|
|
| 1146 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 1147 |
|
{ |
| 1148 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) |
| 1149 |
|
{ |
| 1150 |
|
executeQuery('member.deleteAuthMail', $args); |
| 1151 |
|
} |
| 1152 |
|
|
| 1153 |
|
return $this->stop('msg_invalid_auth_key'); |
| 1154 |
|
} |
| 1155 |
|
|
| 1156 |
|
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
| 1157 |
|
{ |
|
@@ 2555-2559 (lines=5) @@
|
| 2552 |
|
$args->member_srl = $member_srl; |
| 2553 |
|
$args->auth_key = $auth_key; |
| 2554 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 2555 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 2556 |
|
{ |
| 2557 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
| 2558 |
|
return $this->stop('msg_invalid_modify_email_auth_key'); |
| 2559 |
|
} |
| 2560 |
|
|
| 2561 |
|
$newEmail = $output->data->user_id; |
| 2562 |
|
$args->email_address = $newEmail; |