|
@@ 1205-1213 (lines=9) @@
|
| 1202 |
|
$args->auth_key = $auth_key; |
| 1203 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 1204 |
|
|
| 1205 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 1206 |
|
{ |
| 1207 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) |
| 1208 |
|
{ |
| 1209 |
|
executeQuery('member.deleteAuthMail', $args); |
| 1210 |
|
} |
| 1211 |
|
|
| 1212 |
|
return $this->stop('msg_invalid_auth_key'); |
| 1213 |
|
} |
| 1214 |
|
|
| 1215 |
|
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
| 1216 |
|
{ |
|
@@ 2648-2652 (lines=5) @@
|
| 2645 |
|
$args->member_srl = $member_srl; |
| 2646 |
|
$args->auth_key = $auth_key; |
| 2647 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 2648 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 2649 |
|
{ |
| 2650 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
| 2651 |
|
return $this->stop('msg_invalid_modify_email_auth_key'); |
| 2652 |
|
} |
| 2653 |
|
|
| 2654 |
|
$newEmail = $output->data->user_id; |
| 2655 |
|
$args->email_address = $newEmail; |