Skip to content

Commit

Permalink
Merge pull request #118 from jaw187/master
Browse files Browse the repository at this point in the history
decorator fix
  • Loading branch information
jaw187 committed Feb 26, 2016
2 parents 5dfd9cf + ac6e667 commit e9d9115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -128,7 +128,7 @@ internals.implementation = function (server, options) {
server.ext('onPreAuth', (request, reply) => {

// Used for setting and unsetting state, not for replying to request
request.cookieAuth.reply = reply;
request[settings.requestDecoratorName].reply = reply;

return reply.continue();
});
Expand Down

0 comments on commit e9d9115

Please sign in to comment.