Fix: JwtUtil - fix general key bug

This commit is contained in:
2024-03-08 17:53:49 +08:00
parent 49ad18b545
commit 9fe6333aeb
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ app:
# token-prefix: "Bearer " # Token prefix
# jwt-ttl: 2 # The life of token
# jwt-ttl-unit: hours # Unit of life of token [nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days]
jwt-key: $uuid$ # Key to generate token (Only numbers and letters allow)
jwt-key: $uuid$ # Key to generate token
# jwt-issuer: Oxygen # Token issuer
# redis-ttl: 20 # The life of token in redis
# redis-ttl-unit: minutes # Unit of life of token in redis [nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days]