Skip to content

Commit

Permalink
controll access via auth token
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniRumpi committed Jun 15, 2020
1 parent 0c456a9 commit 72b2c30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions entityBackend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ loadJsonFile(pathFile)
if(!tokenJWT) {
let error = 'It is necessary to provide an authentication token'
log.error(`[App] -----> ${error}`)
// res.status(401).send(`Error: ${error}`)
next()
res.status(401).send(`Error: ${error}`)
} else {
// if(keyManagerUrl == '') {
// let error = 'It is necessary to provide a key manager URL'
Expand Down

0 comments on commit 72b2c30

Please sign in to comment.