mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Fix eslint error
This commit is contained in:
parent
e3fce92704
commit
0fa080d5cb
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue