mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-22 01:02:05 -07:00
fix(debugging): Debugging rate limit token signature bug
This commit is contained in:
@@ -76,6 +76,8 @@ class RateLimits {
|
||||
// pemPublicKey,
|
||||
// jwtOptions
|
||||
// )
|
||||
|
||||
console.log(`Last three letters of token secret: ${config.apiTokenSecret.slice(-3)}`)
|
||||
decoded = _this.jwt.verify(req.locals.jwtToken, config.apiTokenSecret)
|
||||
// console.log(`decoded: ${JSON.stringify(decoded, null, 2)}`)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user