Skip to content

Commit

Permalink
Add admin middleware for reading sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
bnematzadeh committed Nov 9, 2024
1 parent 216f637 commit 163e1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ function getRoutes(gladys) {
},
'get /api/v1/session': {
authenticated: true,
admin: true,
controller: sessionController.get,
},
// light
Expand Down

0 comments on commit 163e1ec

Please sign in to comment.