mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +02:00
Fix eslint error
This commit is contained in:
@@ -45,7 +45,8 @@ module.exports = function(options) {
|
||||
if (user.name === options.mock.basicAuth.username &&
|
||||
user.pass === options.mock.basicAuth.password) {
|
||||
return next()
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return unauthorized(res)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user