|
@@ 1300-1308 (lines=9) @@
|
| 1297 |
|
$args->auth_key = $auth_key; |
| 1298 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 1299 |
|
|
| 1300 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 1301 |
|
{ |
| 1302 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) |
| 1303 |
|
{ |
| 1304 |
|
executeQuery('member.deleteAuthMail', $args); |
| 1305 |
|
} |
| 1306 |
|
|
| 1307 |
|
return $this->stop('msg_invalid_auth_key'); |
| 1308 |
|
} |
| 1309 |
|
|
| 1310 |
|
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
| 1311 |
|
{ |
|
@@ 2743-2747 (lines=5) @@
|
| 2740 |
|
$args->member_srl = $member_srl; |
| 2741 |
|
$args->auth_key = $auth_key; |
| 2742 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 2743 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 2744 |
|
{ |
| 2745 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
| 2746 |
|
return $this->stop('msg_invalid_modify_email_auth_key'); |
| 2747 |
|
} |
| 2748 |
|
|
| 2749 |
|
$newEmail = $output->data->user_id; |
| 2750 |
|
$args->email_address = $newEmail; |