diff --git a/Backend/Services/PermissionService.cs b/Backend/Services/PermissionService.cs index 40bc5db85a..e1dabaa1d8 100644 --- a/Backend/Services/PermissionService.cs +++ b/Backend/Services/PermissionService.cs @@ -170,7 +170,7 @@ public string GetUserId(HttpContext request) /// Creates a JWT token for the given user. public async Task MakeJwt(User user) { - const int hoursUntilExpires = 4; + const int hoursUntilExpires = 12; var tokenHandler = new JwtSecurityTokenHandler(); var secretKey = Environment.GetEnvironmentVariable("COMBINE_JWT_SECRET_KEY")!; var key = Encoding.ASCII.GetBytes(secretKey);