store session under "Session" header
This commit is contained in:
parent
4c37c92f73
commit
f9cb419da0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue