From 40cbb35616fa17c1c36520690f40ebce0b488153 Mon Sep 17 00:00:00 2001 From: zhangchao <56663373+zhangchao-wooc@users.noreply.github.com> Date: Tue, 5 Jul 2022 23:24:39 +0800 Subject: [PATCH] fix: Fix the parameter passing problem of setDefaultCredentials to make it perform data initialization normally (#288) Co-authored-by: wooc --- 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;