yangyang
yangyang

Reputation: 11

can't disable csrf in laravel5.2

i use web editor to upload imags ,so i want to disable csrf for imagesUpload

this is my route and VerifyCsrfToken

run into broswer ,still can't

Upvotes: 0

Views: 45

Answers (1)

jeremykenedy
jeremykenedy

Reputation: 4275

Comment out line 31 in the middlware kernal:

https://github.com/laravel/laravel/blob/master/app/Http/Kernel.php

Upvotes: 2

Related Questions