diff --git a/backend/FwLite/LocalWebApp/Routes/AuthRoutes.cs b/backend/FwLite/LocalWebApp/Routes/AuthRoutes.cs index 2d8950bb0..21f521741 100644 --- a/backend/FwLite/LocalWebApp/Routes/AuthRoutes.cs +++ b/backend/FwLite/LocalWebApp/Routes/AuthRoutes.cs @@ -24,10 +24,9 @@ public static IEndpointConventionBuilder MapAuthRoutes(this WebApplication app) }); }); group.MapGet("/login/{authority}", - async (AuthHelpersFactory factory, string authority, IOptions options, [FromHeader] string referer, ILogger logger) => + async (AuthHelpersFactory factory, string authority, IOptions options, [FromHeader] string referer) => { var returnUrl = new Uri(referer).PathAndQuery; - logger.LogInformation("Login redirect to {ReturnUrl}", returnUrl); var result = await factory.GetHelper(options.Value.GetServerByAuthority(authority)).SignIn(returnUrl); if (result.HandledBySystemWebView) {