refactor: cookir开启httponly
This commit is contained in:
@@ -12,9 +12,9 @@ return [
|
||||
// cookie 启用安全传输
|
||||
'secure' => false,
|
||||
// httponly设置
|
||||
'httponly' => false,
|
||||
'httponly' => true,
|
||||
// 是否使用 setcookie
|
||||
'setcookie' => true,
|
||||
// samesite 设置,支持 'strict' 'lax'
|
||||
'samesite' => '',
|
||||
'samesite' => 'strict',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user