Merge remote-tracking branch 'origin/v13/dev' into v14/dev

This commit is contained in:
Bjarke Berg
2023-09-19 10:44:02 +02:00
2 changed files with 2 additions and 5 deletions

View File

@@ -91,6 +91,8 @@ public class UmbracoApplicationBuilder : IUmbracoApplicationBuilder, IUmbracoEnd
AppBuilder.UseAuthentication();
AppBuilder.UseAuthorization();
AppBuilder.UseAntiforgery();
// This must come after auth because the culture is based on the auth'd user
AppBuilder.UseRequestLocalization();

View File

@@ -11,11 +11,6 @@ WebApplication app = builder.Build();
await app.BootUmbracoAsync();
if (app.Environment.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
#if (UseHttpsRedirect)
app.UseHttpsRedirection();
#endif