|
@@ 1124-1132 (lines=9) @@
|
| 1121 |
|
$args->auth_key = $auth_key; |
| 1122 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 1123 |
|
|
| 1124 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 1125 |
|
{ |
| 1126 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) |
| 1127 |
|
{ |
| 1128 |
|
executeQuery('member.deleteAuthMail', $args); |
| 1129 |
|
} |
| 1130 |
|
|
| 1131 |
|
return $this->stop('msg_invalid_auth_key'); |
| 1132 |
|
} |
| 1133 |
|
|
| 1134 |
|
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
| 1135 |
|
{ |
|
@@ 2530-2534 (lines=5) @@
|
| 2527 |
|
$args->member_srl = $member_srl; |
| 2528 |
|
$args->auth_key = $auth_key; |
| 2529 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 2530 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 2531 |
|
{ |
| 2532 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
| 2533 |
|
return $this->stop('msg_invalid_modify_email_auth_key'); |
| 2534 |
|
} |
| 2535 |
|
|
| 2536 |
|
$newEmail = $output->data->user_id; |
| 2537 |
|
$args->email_address = $newEmail; |