mirror of
https://github.com/Readarr/Readarr
synced 2026-05-08 12:42:51 +02:00
Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection
(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
This commit is contained in:
parent
5196ce311b
commit
68a4ee6000
1 changed files with 1 additions and 0 deletions
|
|
@ -34,6 +34,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 a new issue