mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 05:43:19 -07:00
If the user has selected remember me, it will now last a very long time
This commit is contained in:
parent
c3810def36
commit
7b3107962d
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ namespace Ombi.Controllers.V1
|
||||||
|
|
||||||
var token = new JwtSecurityToken(
|
var token = new JwtSecurityToken(
|
||||||
claims: claims,
|
claims: claims,
|
||||||
expires: rememberMe ? DateTime.Now.AddDays(7) : DateTime.Now.AddDays(1),
|
expires: rememberMe ? DateTime.Now.AddYears(1) : DateTime.Now.AddDays(7),
|
||||||
signingCredentials: creds,
|
signingCredentials: creds,
|
||||||
audience: "Ombi", issuer: "Ombi"
|
audience: "Ombi", issuer: "Ombi"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue