From f0df9d309b64c63d38afdcd13bece8dc9bd66a74 Mon Sep 17 00:00:00 2001 From: James Weston Date: Thu, 25 Feb 2016 22:17:12 -0500 Subject: [PATCH] decorator fix --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e6fc632..20abf1b 100755 --- a/lib/index.js +++ b/lib/index.js @@ -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(); });