#Use password.confirm for POST / DELETE / PUT methods

1 messages · Page 1 of 1 (latest)

tropic loom
#

Please explain further, you are not providing enough detail for anyone to help you.

burnt remnant
#

In laravel, we can use the middleware password.confirm to confirm access with password right ?

#

I just want to add the same way of security but after sending a form for example, a form for deleting an user. with the route: named user.delete and method "DELETE"

worn hinge
#

Use the current_password validation rule

#

On whatever form you're submitting

#

There's no middleware like that for form submissions