Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

kangojs v1.2.1

Latest
Compare
Choose a tag to compare
@ben-ryder ben-ryder released this 12 Mar 11:31
· 70 commits to main since this release

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.