Prevent cookie expiring after 20 minutes, now sessional

This commit is contained in:
flightlevel
2018-08-05 15:19:31 +10:00
parent e05efaeb1d
commit db39b6afd9

View File

@@ -96,8 +96,8 @@ namespace Jackett.Server.Controllers
new ClaimsPrincipal(claimsIdentity),
new AuthenticationProperties
{
ExpiresUtc = DateTime.UtcNow.AddMinutes(20),
IsPersistent = false,
ExpiresUtc = DateTime.UtcNow.AddDays(14), //Cookie expires at end of session
IsPersistent = true,
AllowRefresh = true
});
}