mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Prevent cookie expiring after 20 minutes, now sessional
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user