Add login

This commit is contained in:
2023-10-06 01:53:25 +08:00
parent 8e5375ab30
commit 79e65f0785
12 changed files with 141 additions and 41 deletions

View File

@@ -4,7 +4,7 @@ app:
# token-prefix: "Bearer " # Token prefix
# jwt-ttl: 2 # The life of token
# jwt-ttl-unit: hours # Unit of life of token
jwt-key: $uuid$ # Key to generate token
jwt-key: $uuid$ # Key to generate token (Only numbers and letters allow)
# jwt-issuer: FatWeb # Token issuer
server: