mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Sliding expiration for auth cookie and a little clean up
Fixes #1802 (cherry picked from commit 05ee4e644907b7f1e84589465ac9ab1848f5a766)
This commit is contained in:
@@ -33,6 +33,7 @@ namespace Readarr.Http.Authentication
|
||||
options.AccessDeniedPath = "/login?loginFailed=true";
|
||||
options.LoginPath = "/login";
|
||||
options.ExpireTimeSpan = TimeSpan.FromDays(7);
|
||||
options.SlidingExpiration = true;
|
||||
})
|
||||
.AddApiKey("API", options =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user