mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
Remove outdated condition
This commit is contained in:
parent
55ffe34ca5
commit
4ffecbb7ee
1 changed files with 0 additions and 4 deletions
|
|
@ -1725,10 +1725,6 @@ class memberController extends member
|
||||||
|
|
||||||
// Hash the security key, but allow raw keys for a limited time.
|
// Hash the security key, but allow raw keys for a limited time.
|
||||||
$valid_security_keys = array(base64_encode(hash_hmac('sha256', $security_key, $autologin_key, true)));
|
$valid_security_keys = array(base64_encode(hash_hmac('sha256', $security_key, $autologin_key, true)));
|
||||||
if (time() < 1489503600)
|
|
||||||
{
|
|
||||||
$valid_security_keys[] = $security_key;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check the security key.
|
// Check the security key.
|
||||||
if (!in_array($output->data->security_key, $valid_security_keys) || !$output->data->member_srl)
|
if (!in_array($output->data->security_key, $valid_security_keys) || !$output->data->member_srl)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue