Skip to content

Commit 7d7eb35

Browse files
committed
fix: typo
1 parent 9f8b7c6 commit 7d7eb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ldapauth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ LdapAuth.prototype._findUser = function(username, callback) {
327327
// groupDnProperty will be accessed in the user returned by the search, and
328328
// so needs to be requested from the LDAP server.
329329
if (opts.attributes && self.opts.groupDnProperty && !opts.attributes.includes(self.opts.groupDnProperty)) {
330-
opts.attributes.push(self.optss.groupDnProperty);
330+
opts.attributes.push(self.opts.groupDnProperty);
331331
}
332332

333333
self._search(self.opts.searchBase, opts, function(err, result) {

0 commit comments

Comments
 (0)