spumko/hapi-auth-hawk — pull request #6 by dannycoates (2014-07-29 02:07:55+00:00)
Title: Fixed an uncaught error when payload validation is enabled but payload is absent

It is possible for a request to contain a payload hash in the Authorization header but no payload in the request body. When this happens `plugins['hapi-auth-hawk']` will not be defined, so dereferencing `payloadHash` throws an error. This patch ensures the plugin object is not undefined.

Fixes #2