From aff9c221f732ed646ce232d0c185060e0d9a9601 Mon Sep 17 00:00:00 2001 From: vlakreeh Date: Fri, 9 Nov 2018 11:11:21 -0500 Subject: [PATCH] fix client not connecting with skipValidation flag --- src/client/auth.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/client/auth.js b/src/client/auth.js index ab02e96..7c78d18 100644 --- a/src/client/auth.js +++ b/src/client/auth.js @@ -40,6 +40,9 @@ module.exports = function (client, options) { }) } }) + } else { + // trust that the provided session is a working one + cb(null, options.session) } } else { yggdrasil.auth({