Skip to content

Commit

Permalink
PROCESS: Updated dependencies to major versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
benel committed Dec 13, 2024
1 parent 8020b4d commit 611e73d
Show file tree
Hide file tree
Showing 4 changed files with 243 additions and 63 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const proxy = require('express-http-proxy');
const basicAuth = require('basic-auth');
const Ldap = require('./ldap');
const fetch = require('node-fetch');
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
const createHmac = require('crypto').createHmac;
const session = require('express-session');
const bodyParser = require('body-parser');
Expand Down
2 changes: 1 addition & 1 deletion app/ldap.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = class Ldap {
} else {
let dn;
res.on('searchEntry', (entry) => {
dn = entry.object.dn;
dn = entry._dn;
});
res.on('end', () => {
if (!dn) {
Expand Down
Loading

0 comments on commit 611e73d

Please sign in to comment.