Migrate Laysense to upstream LaySite 1.4.3 with external site data
This commit is contained in:
+4
-2
@@ -1,14 +1,16 @@
|
||||
<?php
|
||||
|
||||
use App\Config\Environment;
|
||||
|
||||
return [
|
||||
'type' => 'file',
|
||||
'handler' => Webman\Session\FileSessionHandler::class,
|
||||
'config' => ['file' => ['save_path' => runtime_path() . '/sessions']],
|
||||
'session_name' => 'LAYSENSE_CMS',
|
||||
'session_name' => 'LAYSITE_CMS',
|
||||
'lifetime' => 8 * 60 * 60,
|
||||
'cookie_lifetime' => 0,
|
||||
'cookie_path' => '/admin',
|
||||
'http_only' => true,
|
||||
'secure' => getenv('LAYSENSE_SECURE_COOKIES') === '1',
|
||||
'secure' => Environment::get('LAYSITE_SECURE_COOKIES') === '1',
|
||||
'same_site' => 'Lax',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user