This commit is contained in:
Ondur
2026-11-18 17:47:44 +01:00
parent 28316b58ab
commit b6f81a12ea
3 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
@@ -100,7 +101,6 @@ app.Use(async (context, next) =>
}); });
} }
// Token musí být dostupný i v aktuálním requestu
context.Items["CartToken"] = token; context.Items["CartToken"] = token;
await next(); await next();