Got tired of logging in all the time
This commit is contained in:
parent
f03f825ab0
commit
c1cd54f7aa
@ -24,7 +24,7 @@ header('X-Frame-Options: "DENY"');
|
||||
header('Referrer-Policy: "no-referrer, strict-origin-when-cross-origin"');
|
||||
$SECURE_NONCE = base64_encode(random_bytes(8));
|
||||
|
||||
$session_length = 60 * 60 * 1; // 1 hour
|
||||
$session_length = 60 * 60 * 48; // 48 hours
|
||||
ini_set('session.gc_maxlifetime', $session_length);
|
||||
session_set_cookie_params($session_length, "/", null, false, false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user