Skip to content

Commit

Permalink
[chore #161464179] implemented middlewares for the different login types
Browse files Browse the repository at this point in the history
  • Loading branch information
Easybuoy committed Oct 24, 2018
1 parent d3b829f commit 0b26361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/middleware/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Authenticate {
// next();
// }


// Checks if user making the request is the store attendant
static isStoreAttendant(req, res, next) {
if (req.user.type !== 3) {
Expand Down

0 comments on commit 0b26361

Please sign in to comment.