mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-26 16:30:50 +01:00
Add Configuration to JWT lifetime length
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user