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:
parent
c028222617
commit
812712e284
@ -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 =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user