We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89c0287 + 28453f7 commit 21786c4Copy full SHA for 21786c4
README.md
@@ -12,7 +12,7 @@ an express middleware to have basic NTLM-authentication in node.js.
12
var app = express();
13
var ntlm = require('express-ntlm');
14
15
- app.all('/', ntlm());
+ app.all('*', ntlm()); // authenticate for all paths
16
17
app.get('/', function(request, response) {
18
response.send(request.ntlm); // { target: 'MYDOMAIN', userid: 'MYUSERID', workstation: 'MYWORKSTATION' }
0 commit comments