This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
Fixing route authRequired checking and making the auth middleware run before request validation.
🛠️ Changes
⚠️ Moving auth middleware (authValidator
) to be added to routes before request validation middelware. This changes KangoJS's behaviour so a user can be denied access to a route before their request is validated.
🐛 Bug Fixes
- Fixed route
authRequired
not being checked correctly. It will now work as expected.