Sliding expiration for auth cookie and a little clean up

This commit is contained in:
Mark McDowall
2022-05-23 13:59:15 -07:00
committed by Qstick
parent 67ae7e32df
commit 654d2dbad3
2 changed files with 4 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ namespace Prowlarr.Http.Authentication
options.AccessDeniedPath = "/login?loginFailed=true";
options.LoginPath = "/login";
options.ExpireTimeSpan = TimeSpan.FromDays(7);
options.SlidingExpiration = true;
})
.AddApiKey("API", options =>
{