Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection
This commit is contained in:
parent
c028222617
commit
812712e284
|
@ -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 =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue