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
Hello guys,
I have applied the role middleware on some routes in my project. Role for those particular routes is admin. I want to redirect other users to the unauthorized page. How can I add a custom error page and redirect the user to that page? I want to handle this exception.
The text was updated successfully, but these errors were encountered:
Hello guys,
I have applied the role middleware on some routes in my project. Role for those particular routes is admin. I want to redirect other users to the unauthorized page. How can I add a custom error page and redirect the user to that page? I want to handle this exception.
The text was updated successfully, but these errors were encountered: