You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Admin routes no longer go through AdminMiddleware (masterkey header).
Admin's AuthMiddleware (adminToken Authentication header) is unaffected.
To Reproduce
Steps to reproduce the behavior:
Send any admin request without passing in the masterkey header.
Make sure you're still passing in an Authentication header (JWT admin-token).
Notice how the request succeeds.
Expected behavior
Request should respond with a 401 - Unauthorized.
The text was updated successfully, but these errors were encountered:
Describe the bug
Admin routes no longer go through AdminMiddleware (masterkey header).
Admin's AuthMiddleware (adminToken Authentication header) is unaffected.
To Reproduce
Steps to reproduce the behavior:
masterkey
header.Expected behavior
Request should respond with a 401 - Unauthorized.
The text was updated successfully, but these errors were encountered: