mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-25 19:09:00 +00:00
Rename 'ReturnUrl' to 'returnUrl' for forms auth redirection
(cherry picked from commit 812712e2843a738054c065a6d5c1b7c81c5f8e7b)
This commit is contained in:
@@ -34,6 +34,7 @@ namespace Readarr.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 =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user