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
Is your feature request related to a problem? Please describe.
Related to #1. We want to make the admin routes only accessible by admins and make the rest of the routes, except the login page, accessible only by logged-in users.
Describe the solution you'd like
This will require some kind of wrapper component for all the routes and a hook to check if a user is currently logged in and their admin status.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Related to #1. We want to make the admin routes only accessible by admins and make the rest of the routes, except the login page, accessible only by logged-in users.
Describe the solution you'd like
This will require some kind of wrapper component for all the routes and a hook to check if a user is currently logged in and their admin status.
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: