|
@@ 1137-1145 (lines=9) @@
|
| 1134 |
|
$args->auth_key = $auth_key; |
| 1135 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 1136 |
|
|
| 1137 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 1138 |
|
{ |
| 1139 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) |
| 1140 |
|
{ |
| 1141 |
|
executeQuery('member.deleteAuthMail', $args); |
| 1142 |
|
} |
| 1143 |
|
|
| 1144 |
|
return $this->stop('msg_invalid_auth_key'); |
| 1145 |
|
} |
| 1146 |
|
|
| 1147 |
|
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
| 1148 |
|
{ |
|
@@ 2546-2550 (lines=5) @@
|
| 2543 |
|
$args->member_srl = $member_srl; |
| 2544 |
|
$args->auth_key = $auth_key; |
| 2545 |
|
$output = executeQuery('member.getAuthMail', $args); |
| 2546 |
|
if(!$output->toBool() || $output->data->auth_key != $auth_key) |
| 2547 |
|
{ |
| 2548 |
|
if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
| 2549 |
|
return $this->stop('msg_invalid_modify_email_auth_key'); |
| 2550 |
|
} |
| 2551 |
|
|
| 2552 |
|
$newEmail = $output->data->user_id; |
| 2553 |
|
$args->email_address = $newEmail; |