So I have a laravel 5 project, and I'd like to benchmark the test server I'm using with the siege tool.
Unfortunately, I've realized you can't log in because the CSRF is normally received from the submission form. There is no form in siege, so this token can't be sent.
I can see this being tackled in a few ways, but I'm looking for something that can be left in source control and not negatively affect security. What is a good way to get siege to work with Laravel without a bunch of maintenance or just being lazy and disabling CSRF?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire