token decryption successfull
This commit is contained in:
parent
941cc2dc3f
commit
8c16ff344e
@ -48,7 +48,7 @@ class MessageProcessor {
|
||||
// Decrypt
|
||||
val validator: Validator<String> = object : StringValidator {
|
||||
override fun getTimeToLive(): TemporalAmount {
|
||||
return Duration.ofHours(24)
|
||||
return Duration.ofHours(196)
|
||||
}
|
||||
}
|
||||
val data = token.validateAndDecrypt(fernetKey, validator)
|
||||
|
Loading…
Reference in New Issue
Block a user