From 025952dcc7fbe552d20f0b40f709ba38e1464736 Mon Sep 17 00:00:00 2001 From: Root-Core Date: Tue, 18 Apr 2017 23:56:22 +0200 Subject: [PATCH] Fixed dirty cherry-pick --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 54b33b7..1971132 100644 --- a/lib/index.js +++ b/lib/index.js @@ -171,7 +171,7 @@ function authorize(options, onConnection) { } // Store encoded JWT - socket[options.encodedPropertyName] = token; + data[options.encodedPropertyName] = token; var onJwtVerificationReady = function(err, decoded) {