👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2022-03-14 16:01:51 +01:00
parent 6548b6c9dc
commit 10f18077b1
2 changed files with 6 additions and 5 deletions

View File

@@ -419,10 +419,7 @@ class App {
this.app.use(
async (req: express.Request, res: express.Response, next: express.NextFunction) => {
// Skip basic auth for a few listed endpoints or when instance owner has been setup
if (
authIgnoreRegex.exec(req.url) ||
config.get('userManagement.isInstanceOwnerSetUp')
) {
if (authIgnoreRegex.exec(req.url) || config.get('userManagement.isInstanceOwnerSetUp')) {
return next();
}
const realm = 'n8n - Editor UI';