diff --git a/index.js b/index.js index b68b217..2fa0132 100644 --- a/index.js +++ b/index.js @@ -25,6 +25,7 @@ var LDAP = new LdapAuth({ LDAP.on('error', function (err) { console.error('LdapAuth: ', err); }); +ldapConf = null; fastify.addContentTypeParser('application/json', { parseAs: 'string'