Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Nov 18, 2024
1 parent 8d7b79f commit 0f11643
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/FwLite/LocalWebApp/Routes/AuthRoutes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ public static IEndpointConventionBuilder MapAuthRoutes(this WebApplication app)
});
});
group.MapGet("/login/{authority}",
async (AuthHelpersFactory factory, string authority, IOptions<AuthConfig> options, [FromHeader] string referer, ILogger<AuthConfig> logger) =>
async (AuthHelpersFactory factory, string authority, IOptions<AuthConfig> 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)
{
Expand Down

0 comments on commit 0f11643

Please sign in to comment.