@@ 1305-1313 (lines=9) @@ | ||
1302 | $args->auth_key = $auth_key; |
|
1303 | $output = executeQuery('member.getAuthMail', $args); |
|
1304 | ||
1305 | if(!$output->toBool() || $output->data->auth_key != $auth_key) |
|
1306 | { |
|
1307 | if(strlen($output->data->auth_key) !== strlen($auth_key)) |
|
1308 | { |
|
1309 | executeQuery('member.deleteAuthMail', $args); |
|
1310 | } |
|
1311 | ||
1312 | return $this->stop('msg_invalid_auth_key'); |
|
1313 | } |
|
1314 | ||
1315 | if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400) |
|
1316 | { |
|
@@ 2768-2772 (lines=5) @@ | ||
2765 | $args->member_srl = $member_srl; |
|
2766 | $args->auth_key = $auth_key; |
|
2767 | $output = executeQuery('member.getAuthMail', $args); |
|
2768 | if(!$output->toBool() || $output->data->auth_key != $auth_key) |
|
2769 | { |
|
2770 | if(strlen($output->data->auth_key) !== strlen($auth_key)) executeQuery('member.deleteAuthChangeEmailAddress', $args); |
|
2771 | return $this->stop('msg_invalid_modify_email_auth_key'); |
|
2772 | } |
|
2773 | ||
2774 | $newEmail = $output->data->user_id; |
|
2775 | $args->email_address = $newEmail; |