Skip to content

Commit

Permalink
feat(config): default to 4h session timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalHonegger committed Nov 18, 2023
1 parent 8968aad commit c16ae7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Backend/bootstrap/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jwt {
audience = ${?JWT_AUDIENCE}
realm = "JassTracker"
realm = ${?JWT_REALM}
expiryTime = 2h
expiryTime = 4h
expiryTime = ${?JWT_EXPIRY_TIME}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class JwtTokenServiceTest {
issuer = "Test Issuer",
audience = "Test Audience",
realm = "JwtTokenServiceTest",
expiryTime = 2.hours,
expiryTime = 4.hours,
)
private val registeredPlayer = RegisteredPlayer(
id = UUID.randomUUID(),
Expand Down

0 comments on commit c16ae7d

Please sign in to comment.