Skip to content

Commit 611e73d

Browse files
committed
PROCESS: Updated dependencies to major versions.
1 parent 8020b4d commit 611e73d

File tree

4 files changed

+243
-63
lines changed

4 files changed

+243
-63
lines changed

app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const proxy = require('express-http-proxy');
22
const basicAuth = require('basic-auth');
33
const Ldap = require('./ldap');
4-
const fetch = require('node-fetch');
4+
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
55
const createHmac = require('crypto').createHmac;
66
const session = require('express-session');
77
const bodyParser = require('body-parser');

app/ldap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = class Ldap {
3535
} else {
3636
let dn;
3737
res.on('searchEntry', (entry) => {
38-
dn = entry.object.dn;
38+
dn = entry._dn;
3939
});
4040
res.on('end', () => {
4141
if (!dn) {

0 commit comments

Comments
 (0)