更新cookie配置

This commit is contained in:
2023-05-10 13:51:01 +08:00
parent 7a4199c3c5
commit c8f1a95207

View File

@@ -1,4 +1,5 @@
<?php <?php
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
// | Cookie设置 // | Cookie设置
// +---------------------------------------------------------------------- // +----------------------------------------------------------------------
@@ -13,6 +14,6 @@ return [
'secure' => false, 'secure' => false,
// httponly设置 // httponly设置
'httponly' => false, 'httponly' => false,
// 是否使用 setcookie // samesite 设置,支持 'strict' 'lax'
'setcookie' => true, 'samesite' => '',
]; ];