We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb4620d commit c1b2baaCopy full SHA for c1b2baa
src/registry/domain/authentication.ts
@@ -1,6 +1,5 @@
1
import basicAuth from 'basic-auth-connect';
2
import { RequestHandler } from 'express';
3
-import path from 'path';
4
5
import strings from '../../resources/';
6
@@ -45,9 +44,6 @@ export function validate(authConfig: { type: string }) {
45
44
if (builtin[authConfig.type]) {
46
scheme = builtin[authConfig.type];
47
} else {
48
- const cwd = process.cwd();
49
- module.paths.push(cwd, path.join(cwd, 'node_modules'));
50
-
51
const moduleName = `oc-auth-${authConfig.type}`;
52
53
try {
0 commit comments