From c8f1a9520776b35a4cef8392795221d74123c28e Mon Sep 17 00:00:00 2001 From: augushong Date: Wed, 10 May 2023 13:51:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0cookie=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/cookie.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/cookie.php b/config/cookie.php index f728024..b20f8d7 100644 --- a/config/cookie.php +++ b/config/cookie.php @@ -1,4 +1,5 @@ false, // httponly设置 'httponly' => false, - // 是否使用 setcookie - 'setcookie' => true, + // samesite 设置,支持 'strict' 'lax' + 'samesite' => '', ];