@tool-developer/egg-jwt
Advanced tools
@@ -189,3 +189,3 @@ const { schemePrefix, JwtMsg } = require('../../app.config'); | ||
| }else{ | ||
| const msg = debug === true ? e.message : JwtMsg.AuthFailed | ||
| const msg = options.debug === true ? e.message : JwtMsg.AuthFailed | ||
| // 抛出异常 | ||
@@ -192,0 +192,0 @@ return ctx.throw(401, msg, { originalError:e }) |
+1
-1
| { | ||
| "name": "@tool-developer/egg-jwt", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
| "description": "jwt plugin for egg", | ||
@@ -5,0 +5,0 @@ "eggPlugin": { |
17986
0.04%