From d57e1f7e02e6a372b6ce906c1f80eda6f1d06966 Mon Sep 17 00:00:00 2001 From: jx Date: Wed, 16 Oct 2024 09:45:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4samesite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JxAudio.Web/Program.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/JxAudio.Web/Program.cs b/JxAudio.Web/Program.cs index 906dea0..8d8a5f9 100644 --- a/JxAudio.Web/Program.cs +++ b/JxAudio.Web/Program.cs @@ -81,7 +81,6 @@ options.Cookie.Name = "JxAudio"; options.Cookie.HttpOnly = true; options.Cookie.SecurePolicy = CookieSecurePolicy.None; - options.Cookie.SameSite = SameSiteMode.None; options.Cookie.Path = "/"; options.ExpireTimeSpan = TimeSpan.FromDays(7); options.Events.OnRedirectToLogin = context =>