vue-jwt-auth
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -19,3 +19,3 @@ { | ||
}, | ||
"version": "0.8.0" | ||
"version": "0.8.1" | ||
} |
@@ -487,3 +487,4 @@ module.exports = (function () { | ||
response (res) { | ||
var authorization = res.headers('Authorization') | ||
var authorization = res.headers('Authorization'), | ||
invalidTokenMethod = auth.getOption('invalidToken') | ||
@@ -498,3 +499,5 @@ if (authorization) { | ||
auth.getOption('invalidToken').bind(auth)(res) | ||
if (invalidTokenMethod) { | ||
invalidTokenMethod.bind(auth)(res) | ||
} | ||
@@ -501,0 +504,0 @@ return res |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
29651
402
0