store session under "Session" header

This commit is contained in:
ig 2023-03-16 08:49:01 +01:00
parent 4c37c92f73
commit f9cb419da0
1 changed files with 1 additions and 1 deletions

View File

@ -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);