chore: linting
This commit is contained in:
parent
e13006441a
commit
9f4419e21a
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ const { HTTP } = require("./constants")
|
|||
*/
|
||||
// eslint-disable-next-line consistent-return
|
||||
function createAuthMiddleware(config) {
|
||||
// eslint-disable-next-line consistent-return
|
||||
return (req, res, next) => {
|
||||
if (config.user.name && config.user.password) {
|
||||
req.session.sshCredentials = {
|
||||
|
|
Loading…
Reference in a new issue