fix: always run the authorize middleware
This commit is contained in:
parent
4a6da1b888
commit
6a9643beb8
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ app.use('/', pairingRoutes)
|
||||||
app.use(findOperatorId)
|
app.use(findOperatorId)
|
||||||
app.use(populateDeviceId)
|
app.use(populateDeviceId)
|
||||||
app.use(computeSchema)
|
app.use(computeSchema)
|
||||||
if (!devMode) app.use(authorize)
|
app.use(authorize)
|
||||||
app.use(configRequiredRoutes, populateSettings)
|
app.use(configRequiredRoutes, populateSettings)
|
||||||
app.use(filterOldRequests)
|
app.use(filterOldRequests)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue