hapi-auth-jwt2
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -31,6 +31,2 @@ var Boom = require('boom'); // error handling https://github.com/hapijs/boom | ||
if (!token && request.auth.mode !== 'required') { | ||
return reply.continue({ credentials: {} }); | ||
} | ||
if (!token) { | ||
@@ -37,0 +33,0 @@ return reply(Boom.unauthorized(null, 'Token')); |
{ | ||
"name": "hapi-auth-jwt2", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
72792
22
1351