mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-20 13:59:16 +08:00
Update cookie.php
This commit is contained in:
parent
5099f54390
commit
63b897b34a
@ -26,6 +26,6 @@ return [
|
||||
'setcookie' => true,
|
||||
// cookie 安全传输,只支持 https 协议
|
||||
'secure' => app()->request->isSsl(),
|
||||
// samesite 安装设置,支持 'strict' 'lax' 'none'
|
||||
// samesite 安全设置,支持 'strict' 'lax' 'none'
|
||||
'samesite' => app()->request->isSsl() ? 'none' : 'lax',
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user