1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 01:42:35 +01:00

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

(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
This commit is contained in:
Mark McDowall 2023-11-16 16:35:12 -08:00 committed by Bogdan
parent ccc62f0450
commit bf9a0b62f2

View File

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