hapi-auth-bearer-simple
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -15,3 +15,3 @@ 'use strict'; | ||
if (err) { | ||
return reply(err, null, { credentials: credentials }); | ||
return reply(err, null, { credentials }); | ||
} | ||
@@ -21,5 +21,5 @@ | ||
return reply(Boom.unauthorized(null, 'bearerAuth', { | ||
isValid: isValid, | ||
credentials: credentials | ||
}), null, { credentials: credentials }); | ||
isValid, | ||
credentials | ||
}), null, { credentials }); | ||
} | ||
@@ -36,3 +36,3 @@ | ||
return reply.continue({ | ||
credentials: credentials | ||
credentials | ||
}); | ||
@@ -39,0 +39,0 @@ }; |
{ | ||
"name": "hapi-auth-bearer-simple", | ||
"description": "Custom authentication plugin for Hapi using Bearer tokens", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"author": "Adri Van Houdt <adri@salesflare.com>", | ||
@@ -27,3 +27,3 @@ "private": false, | ||
"devDependencies": { | ||
"lab": "10.x.x", | ||
"lab": "11.x.x", | ||
"code": "3.x.x", | ||
@@ -30,0 +30,0 @@ "hapi": "14.x.x" |
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
26661