diff --git a/Program.cs b/Program.cs index 7a14e90..1091a09 100644 --- a/Program.cs +++ b/Program.cs @@ -49,8 +49,6 @@ builder.Services.AddSession(options => options.Cookie.Path = "/admin"; options.Cookie.SecurePolicy = CookieSecurePolicy.Always; options.Cookie.SameSite = SameSiteMode.Lax; - // Avoid double-encoding/chunking issues that can break DP unprotect. - options.CookieManager = new ChunkingCookieManager { ChunkSize = null }; }); builder.Services.AddAntiforgery(o => {