forked from lthn/blockchain
fix of JWT auth wrong expiration units
This commit is contained in:
parent
ca46fca7b1
commit
bb92e52ae2
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ DISABLE_VS_WARNINGS(4244)
|
|||
POP_VS_WARNINGS
|
||||
#include "crypto/bitcoin/sha256_helper.h"
|
||||
|
||||
#define JWT_TOKEN_EXPIRATION_MAXIMUM (60 * 60)
|
||||
#define JWT_TOKEN_EXPIRATION_MAXIMUM (60 * 60 * 1000)
|
||||
#define JWT_TOKEN_CLAIM_NAME_BODY_HASH "body_hash"
|
||||
#define JWT_TOKEN_CLAIM_NAME_SALT "salt"
|
||||
#define JWT_TOKEN_CLAIM_NAME_EXPIRATION "exp"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue