From ac0f41829477cb23ce3e48545bd5a20803e39e22 Mon Sep 17 00:00:00 2001 From: Nelson Chan Date: Wed, 28 Jul 2021 10:58:36 +0800 Subject: [PATCH] Fix: passwordHash is not imported --- server/server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.js b/server/server.js index 2014d927f..b3837c920 100644 --- a/server/server.js +++ b/server/server.js @@ -17,6 +17,7 @@ const args = require('args-parser')(process.argv); const prometheusAPIMetrics = require('prometheus-api-metrics'); const { basicAuth } = require("./auth"); const {login} = require("./auth"); +const passwordHash = require('./password-hash'); const version = require('../package.json').version; const hostname = args.host || "0.0.0.0" const port = args.port || 3001