Skip to content

Commit

Permalink
rename try and optional auth mode test file and version bump for pull…
Browse files Browse the repository at this point in the history
… request
  • Loading branch information
nelsonic committed Oct 15, 2015
1 parent c8506bf commit cc429bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internals.implementation = function (server, options) {
return {
authenticate: function (request, reply) {
var token = extract(request, options);

if (!token) {
return reply(Boom.unauthorized(null, 'Token'));
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hapi-auth-jwt2",
"version": "5.1.1",
"version": "5.1.2",
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)",
"main": "lib/index.js",
"repository": {
Expand Down
File renamed without changes.

0 comments on commit cc429bc

Please sign in to comment.