oprava tokenu
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
using Microsoft.AspNetCore.Components.Authorization;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
@@ -101,6 +100,9 @@ app.Use(async (context, next) =>
|
||||
});
|
||||
}
|
||||
|
||||
// Token musí být dostupný i v aktuálním requestu
|
||||
context.Items["CartToken"] = token;
|
||||
|
||||
await next();
|
||||
});
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user