throwing 404 error in case of 403 error. #54188
Unanswered
magic-thomas
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You may use the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In bootstrap/app.php , I have tried to use the following code to catch the 403 error and throw into 404 error, but it doesn't work.
the 403 error is not hooked by
AccessDeniedHttpException
.the blade page just shows 403 Error.
Laravel 11 is used.
Somebody can help me?
Beta Was this translation helpful? Give feedback.
All reactions