Tsing still....

This commit is contained in:
dingo
2026-01-30 22:29:59 -05:00
parent 463fa33669
commit 14bf839699
+3 -1
View File
@@ -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);
}
});