forked from laysense/laysense.cn
Use Webman session cookie settings for local login
This commit is contained in:
+1
-1
@@ -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',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user