mirror of
https://github.com/MewoLab/AquaDX.git
synced 2025-10-25 12:02:40 +00:00
fix: 🚑 increase expiration time
this is a temporary fix until i implement token revitalization where i might turn it back down to 7 days
This commit is contained in:
parent
1a54527428
commit
db43e18b16
@ -16,7 +16,7 @@ class SessionToken(
|
||||
|
||||
// Token creation time
|
||||
@Column(nullable = false)
|
||||
var expiry: Instant = Instant.now().plusSeconds(3 * 86400),
|
||||
var expiry: Instant = Instant.now().plusSeconds(14 * 86400),
|
||||
|
||||
// Linking to the AquaNetUser
|
||||
@ManyToOne
|
||||
@ -28,4 +28,4 @@ class SessionToken(
|
||||
interface SessionTokenRepo : JpaRepository<SessionToken, String> {
|
||||
fun findByToken(token: String): SessionToken?
|
||||
fun findByAquaNetUserAuId(auId: Long): List<SessionToken>
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user