Skip to content

Commit f3755f2

Browse files
committed
fix: ad auth method undefined bug
1 parent 7a4ffee commit f3755f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/passport/activeDirectory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const configure = (passport) => {
77
// We can refactor this by normalizing auth strategy config and pass it directly into the configure() function,
88
// ideally when we convert this to TS.
99
const authMethods = require('../../config').getAuthMethods();
10-
const config = authMethods.find((method) => method.type.toLowerCase() === "activeDirectory");
10+
const config = authMethods.find((method) => method.type.toLowerCase() === "activedirectory");
1111
const adConfig = config.adConfig;
1212

1313
const { userGroup, adminGroup, domain } = config;

0 commit comments

Comments
 (0)