Skip to content

Commit

Permalink
fix: Fix the parameter passing problem of setDefaultCredentials to ma…
Browse files Browse the repository at this point in the history
…ke it perform data initialization normally (#288)

Co-authored-by: wooc <wooc@hwj-robots.com>
  • Loading branch information
zhangchao-wooc and wooc committed Jul 5, 2022
1 parent e75392b commit 40cbb35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 40cbb35

Please sign in to comment.