1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-10 23:29:53 +02:00

Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection

This commit is contained in:
Mark McDowall 2023-11-16 16:35:12 -08:00
parent c028222617
commit 812712e284

View File

@ -40,6 +40,7 @@ public static AuthenticationBuilder AddAppAuthentication(this IServiceCollection
options.LoginPath = "/login";
options.ExpireTimeSpan = TimeSpan.FromDays(7);
options.SlidingExpiration = true;
options.ReturnUrlParameter = "returnUrl";
})
.AddApiKey("API", options =>
{