Use Webman session cookie settings for local login

This commit is contained in:
2026-11-21 18:55:05 +08:00
parent 908f9385fb
commit 188a63fb2f
3 changed files with 5 additions and 20 deletions
+1 -1
View File
@@ -9,6 +9,6 @@ return [
'cookie_lifetime' => 0,
'cookie_path' => '/admin',
'http_only' => true,
'secure' => getenv('LAYSENSE_SECURE_COOKIES') !== '0',
'secure' => getenv('LAYSENSE_SECURE_COOKIES') === '1',
'same_site' => 'Lax',
];