php - Laravel CSRF token mismatch -
i have form this:
{{ form::open([ 'url' => url('programs') ]) }} {{ csrf_field() }}
in controller echoing plain input variables this:
public function store(request $request) { print_r(input::all()); die();
i get:
array ( [_token] => leanp3un8k3d11adgweisizypoukgss0fakijy8e [cat_id] => 1 [subcat_id] => 13 [degree_type] => masters [pace] => part_time [study_location] => online [name] => [requirements] => [length] => [price] => [start_date] => [description] => )
which perfect. have been checking inputs past 3 laravel applications. strange problem happening, when press f5 resubmits form. should again display same output instead shows me csrf mismatch. have never had before.
edit:
i removed form fields, form open csrf_field , form close submit button , still face problem.
i using laravel 5.4
Comments
Post a Comment