Skip to content

Commit

Permalink
merge master into tidy-up branch
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Aug 22, 2016
2 parents 1a2c9a5 + 352d4f6 commit 4190f0e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

This project adheres to [Semantic Versioning](http://semver.org/).
Every release, along with the migration instructions (where necessary),
is documented on the Github [Releases](https://github.com/dwyl/hapi-auth-jwt2/releases) page.

If anything is unclear in the project documentation, please
raise an issue: https://github.com/dwyl/hapi-auth-jwt2/issues (_we are here to help!_)
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ internals.implementation = function (server, options) {
assert(options, 'options are required for jwt auth scheme'); // pre-auth checks
assert(options.validateFunc || options.verifyFunc, 'validateFunc OR verifyFunc function is required!')

// allow custom error raising or default to Boom if no errorFunc is defined
var raiseError = function(errorType, message, scheme, attributes) {
if (options.errorFunc && internals.isFunction(options.errorFunc)) {
var errorContext = {
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": "7.0.2",
"version": "7.1.0",
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)",
"main": "lib/index.js",
"repository": {
Expand Down

0 comments on commit 4190f0e

Please sign in to comment.