Skip to content

Commit

Permalink
case change to AllowAnonymousToPage
Browse files Browse the repository at this point in the history
  • Loading branch information
paullocknimble committed Jan 5, 2024
1 parent 044e0e9 commit f7a4808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public void ConfigureServices(IServiceCollection services)
.AddRazorPages(options =>
{
options.Conventions.AuthorizeFolder("/");
options.Conventions.AllowAnonymousToPage("/Public/AccessibilityStatement");
options.Conventions.AllowAnonymousToPage("/Public/Maintenance");
options.Conventions.AllowAnonymousToPage("/public/maintenance");
options.Conventions.AllowAnonymousToPage("/public/accessibility");
})
.AddViewOptions(options =>
{
Expand Down

0 comments on commit f7a4808

Please sign in to comment.