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
|
// eslint-disable-next-line consistent-return
|
||||||
function createAuthMiddleware(config) {
|
function createAuthMiddleware(config) {
|
||||||
|
// eslint-disable-next-line consistent-return
|
||||||
return (req, res, next) => {
|
return (req, res, next) => {
|
||||||
if (config.user.name && config.user.password) {
|
if (config.user.name && config.user.password) {
|
||||||
req.session.sshCredentials = {
|
req.session.sshCredentials = {
|
||||||
|
|
Loading…
Reference in a new issue