mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
[ticket/security/276] Centralise call for token expiration
SECURITY-276
This commit is contained in:
@@ -179,7 +179,7 @@ class ucp_resend
|
||||
global $db, $user;
|
||||
|
||||
$sql_ary = [
|
||||
'user_actkey_expiration' => strtotime('+1 day'),
|
||||
'user_actkey_expiration' => $user::get_token_expiration(),
|
||||
];
|
||||
|
||||
$sql = 'UPDATE ' . USERS_TABLE . '
|
||||
|
Reference in New Issue
Block a user