fix: loop

v1.18.x
Barış Soner Uşaklı 6 years ago
parent ae0fe5e880
commit 60390c01f1

@ -43,7 +43,7 @@ module.exports = function (middleware) {
callback();
}
middleware.authenticate = function authenticate(req, res, next) {
middleware.authenticate = function middlewareAuthenticate(req, res, next) {
authenticate(req, res, next, function () {
controllers.helpers.notAllowed(req, res, next);
});

Loading…
Cancel
Save