From 7881e5a60d7a4ce5dc7384cc9d8d798dc0473b03 Mon Sep 17 00:00:00 2001 From: wooc Date: Tue, 28 Jun 2022 23:56:49 +0800 Subject: [PATCH] fix: Fix the parameter passing problem of setDefaultCredentials to make it perform data initialization normally --- app/server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server/app.js b/app/server/app.js index 1c7ffbb..a52922b 100644 --- a/app/server/app.js +++ b/app/server/app.js @@ -23,7 +23,7 @@ const { setDefaultCredentials, basicAuth } = require('./util'); const { webssh2debug } = require('./logging'); const { reauth, connect, notfound, handleErrors } = require('./routes'); -setDefaultCredentials(config); +setDefaultCredentials(config.user); // safe shutdown let remainingSeconds = config.safeShutdownDuration;