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
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ namespace Sonarr.Http.Authentication
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 =>
{ {