Skip to content

Commit a33adfc

Browse files
authored
Merge pull request #47 from akleandrov/master
Fixed incorrect validation connection (fixes #35)
2 parents 6addc81 + 00a0a01 commit a33adfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/express-ntlm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ module.exports = function(options) {
245245
}
246246

247247
if (ntlm_version === 3) {
248-
if (typeof cache.get_proxy(request.connection.id) !== 'undefined') {
248+
if (cache.get_proxy(request.connection.id) !== null) {
249249
return handle_type3(request, response, next, ah_data[1], function(error) {
250250
if (error) {
251251
options.debug(options.prefix, error.stack);

0 commit comments

Comments
 (0)