If the user has selected remember me, it will now last a very long time

pull/4069/head v4.0.1117
tidusjar 4 years ago
parent c3810def36
commit 7b3107962d

@ -146,7 +146,7 @@ namespace Ombi.Controllers.V1
var token = new JwtSecurityToken(
claims: claims,
expires: rememberMe ? DateTime.Now.AddDays(7) : DateTime.Now.AddDays(1),
expires: rememberMe ? DateTime.Now.AddYears(1) : DateTime.Now.AddDays(7),
signingCredentials: creds,
audience: "Ombi", issuer: "Ombi"
);

Loading…
Cancel
Save