Requesting an unauthenticated delete route. will result in a login route of 405. #1130
Unanswered
foxlau
asked this question in
Help (Vue)
Replies: 3 comments 5 replies
-
Seems like your route is missing the Inertia middleware. Make sure you define your routes in |
Beta Was this translation helpful? Give feedback.
3 replies
-
Any solution for this problem? Thank you for your answer. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any solutions? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello friends....
I have inadvertently come across this problem.
If an unauthenticated click on a delete route, the 302 will be 405 after jumping to the
/login
routeAlthough I can hide the delete button in the case of unauthenticated.
Is this a problem with inertiajs? 🤔
I tested with blade and it does not have this problem.
Or is it because I have set it up incorrectly?
Hope I can get some help, thanks! 🙏
my code: 👇
Beta Was this translation helpful? Give feedback.
All reactions