mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Reduce file download key expiration to 5 minutes #1890
This commit is contained in:
parent
237134f64d
commit
9c07104eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ class fileController extends file
|
|||
throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
}
|
||||
$file_key_timestamp = hexdec(substr($file_key, 0, 8));
|
||||
if ($file_key_timestamp < \RX_TIME - 3600)
|
||||
if ($file_key_timestamp < \RX_TIME - 300)
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\InvalidRequest('msg_file_key_expired');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue