Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
Fix a typo in the array reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Snare committed Nov 14, 2013
1 parent 57a0865 commit 6131b11
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/auth-ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,9 @@ function start(options) {
console.error("Cannot detect root naming context. Please configure manually.");
break;
case 1:
bindChannel(base[0]);
var base = bases[0];
console.warn("Auto-detected base context: " + base);
bindChannel(base);
break;
case 2:
console.error("Multiple bases detected. Please configure manually.");
Expand Down

0 comments on commit 6131b11

Please sign in to comment.