From 14bf839699e5df051a81a9ff7344a6420aef4b17 Mon Sep 17 00:00:00 2001 From: dingo Date: Fri, 30 Jan 2026 22:29:59 -0500 Subject: [PATCH] Tsing still.... --- Program.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 1091a09..7289e26 100644 --- a/Program.cs +++ b/Program.cs @@ -264,7 +264,7 @@ app.Use(async (ctx, next) => app.Use(async (ctx, next) => { - var af = ctx.Request.Cookies[".Divers.Admin.AntiForgery.v2"]; + var af = ctx.Request.Cookies[".Divers.Admin.AntiForgery"]; app.Logger.LogInformation("AF cookie present={Present} len={Len} prefix={Prefix}", af != null, af?.Length ?? 0, @@ -277,6 +277,8 @@ app.Use(async (ctx, next) => foreach (var sc in setCookies) if (sc.Contains(".Divers.Admin.AntiForgery", StringComparison.OrdinalIgnoreCase)) app.Logger.LogInformation("SET-COOKIE AF: {SetCookie}", sc); + else if (sc.Contains(".Divers.Admin.Session", StringComparison.OrdinalIgnoreCase)) + app.Logger.LogInformation("SET-COOKIE SESSION: {SetCookie}", sc); } });