Skip to content

Commit

Permalink
fix: settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DevNono committed Oct 5, 2023
1 parent 0e09656 commit ac9682f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/middlewares/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ export const isLoginAllowed = async (request: Request, response: Response, next:
) {
return next();
}
/* eslint-disable no-console */
console.error('------chaussette');
/* eslint-disable no-console */
console.error(request.originalUrl);
/* eslint-disable no-console */
console.error(request.route.path);
console.error('------chaussette');
return forbidden(response, Error.LoginNotAllowed);
};

Expand Down

0 comments on commit ac9682f

Please sign in to comment.