|
|
@ -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 =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|