mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
Do not use zgap() in member auth mail expiry routine
This commit is contained in:
parent
deb0ad8e1f
commit
47a2cacd12
1 changed files with 1 additions and 1 deletions
|
|
@ -1156,7 +1156,7 @@ class memberController extends member
|
|||
return $this->stop('msg_invalid_auth_key');
|
||||
}
|
||||
|
||||
if(ztime($output->data->regdate) < $_SERVER['REQUEST_TIME'] + zgap() - 86400)
|
||||
if(ztime($output->data->regdate) < time() - 86400)
|
||||
{
|
||||
executeQuery('member.deleteAuthMail', $args);
|
||||
return $this->stop('msg_invalid_auth_key');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue