Skip to content

Commit 21786c4

Browse files
committed
Merge pull request #6 from nekcih/patch-1
Update README.md
2 parents 89c0287 + 28453f7 commit 21786c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ an express middleware to have basic NTLM-authentication in node.js.
1212
var app = express();
1313
var ntlm = require('express-ntlm');
1414

15-
app.all('/', ntlm());
15+
app.all('*', ntlm()); // authenticate for all paths
1616

1717
app.get('/', function(request, response) {
1818
response.send(request.ntlm); // { target: 'MYDOMAIN', userid: 'MYUSERID', workstation: 'MYWORKSTATION' }

0 commit comments

Comments
 (0)