From 0ea5450e74f16a70983e474578cf41585a5c6b27 Mon Sep 17 00:00:00 2001 From: PascalSenn Date: Thu, 20 Jun 2024 15:22:15 +0200 Subject: [PATCH] Fixed login --- src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs b/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs index d15d2d5..7e6ece5 100644 --- a/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs +++ b/src/Server/src/AspNet/Security/EnsureAuthenticatedMiddleware.cs @@ -23,6 +23,7 @@ public EnsureAuthenticatedMiddleware( public async Task InvokeAsync(HttpContext context) { if (context.Request.Path.StartsWithSegments("/_health") || + context.Request.Path.StartsWithSegments("/fonts") || context.Request.Path.StartsWithSegments("/api/session") || _env.IsDevelopment()) {