diff --git a/backend/internal/access-list.js b/backend/internal/access-list.js index e34efa2f..eb039cbc 100644 --- a/backend/internal/access-list.js +++ b/backend/internal/access-list.js @@ -507,7 +507,7 @@ const internalAccessList = { if (typeof item.password !== 'undefined' && item.password.length) { logger.info('Adding: ' + item.username); - utils.execFile('/usr/bin/htpasswd',['-b', htpasswd_file, item.username, item.password]) + utils.execFile('/usr/bin/htpasswd', ['-b', htpasswd_file, item.username, item.password]) .then((/*result*/) => { next(); }) diff --git a/backend/lib/utils.js b/backend/lib/utils.js index 15142e84..ead5b170 100644 --- a/backend/lib/utils.js +++ b/backend/lib/utils.js @@ -1,4 +1,4 @@ -const exec = require('child_process').exec; +const exec = require('child_process').exec; const execFile = require('child_process').execFile; module.exports = {