Add Configuration to JWT lifetime length

This commit is contained in:
Viktor Egorov
2025-02-25 13:16:27 +01:00
parent bc3967a614
commit 19930804a0
30 changed files with 400 additions and 72 deletions

View File

@@ -30,7 +30,7 @@ public class JwtConfig {
@ConfigValue(
key = "endlessJwt",
defaultValue = "false",
description = "The lifespan of the issued JWT tokens should be endless. Logged-in users are no longer automatically logged out.")
description = "The lifespan of the issued JWT tokens should be endless. Logged-in users are no longer automatically logged out. Any other expiration time will be overridden")
boolean endlessJwt) {
this.endlessJwt = endlessJwt;
}