From f9cb419da0f7b9d51cbc9d93beb18c1babe47c25 Mon Sep 17 00:00:00 2001 From: ig Date: Thu, 16 Mar 2023 08:49:01 +0100 Subject: [PATCH] store session under "Session" header --- csharp/App/Backend/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/App/Backend/Program.cs b/csharp/App/Backend/Program.cs index d49fa856c..d32326b7a 100644 --- a/csharp/App/Backend/Program.cs +++ b/csharp/App/Backend/Program.cs @@ -57,7 +57,7 @@ public static class Program var session = Db.GetSession(token); if (session is not null) - ctx.Items["User"] = session; + ctx.Items["Session"] = session; } await next(ctx);