mirror of
git://f0xx.org/ac/ac-platform-php
synced 2026-07-29 02:18:27 +03:00
fix(session): 24h cookie lifetime and account-security route
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,7 +30,7 @@ function platform_start_session(string $sessionName = 'ac_crash_sess', string $c
|
||||
}
|
||||
session_name($sessionName);
|
||||
session_set_cookie_params([
|
||||
'lifetime' => 0,
|
||||
'lifetime' => 86400,
|
||||
'path' => $cookiePath,
|
||||
'httponly' => true,
|
||||
'samesite' => 'Lax',
|
||||
|
||||
Reference in New Issue
Block a user