Skip to content

Commit

Permalink
Fix antiforgery.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Sep 26, 2024
1 parent 1f8e459 commit 4af7331
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ControlR.Web.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using ControlR.Web.Server.Services.Distributed;
using ControlR.Web.Server.Services.Distributed.Locking;
using ControlR.Web.Server.Services.Local;
using ControlR.Web.Server.Services.Repositories;
using ControlR.Web.ServiceDefaults;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.HttpOverrides;
Expand Down Expand Up @@ -193,9 +192,6 @@

app.UseAntiforgery();

app.UseAuthentication();
app.UseAuthorization();

app.MapRazorComponents<App>()
.AddInteractiveWebAssemblyRenderMode()
.AddAdditionalAssemblies(typeof(_Imports).Assembly);
Expand Down

0 comments on commit 4af7331

Please sign in to comment.