I'm using express-ntlm: 2.6.1 package to login my application, without providing username and password login successful in private window using google chrome. how to fix the issue. and also how to get username and password in request connection entered by user using private window google chrome.
My code is
app.use(ntlm({
debug: function() {
var args = Array.prototype.slice.apply(arguments);
console.log.apply(null, args);
},
domain: 'MYDOMAIN',
domaincontroller: 'ldaps://myad.example',
tlsOptions: {
enableTrace:true,
ca: [fs.readFileSync('./root.pem'),fs.readFileSync('./inter.pem')]
}
}));