Na most elvileg jó a saját form postdata cucc
This commit is contained in:
@@ -26,6 +26,10 @@ builder.Host.UseSerilog();
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorPages();
|
||||
builder.Services.AddSingleton<JwtService>();
|
||||
builder.Services.AddAntiforgery(options =>
|
||||
{
|
||||
options.HeaderName = "X-CSRF-TOKEN"; // JS API hívásokhoz
|
||||
});
|
||||
|
||||
var jwtSettings = builder.Configuration.GetSection("Jwt");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user