VerifyCsrfToken.php
(1/1) TokenMismatchException in VerifyCsrfToken.php (line 68)
after submitting the form above error occur
Add {{csrf_field()}} to your template.
...
<form>
{{csrf_field()}}
...
</form>
{{csrf_field()}} i used that but same error come
I'm assuming you added $this->middleware('auth'); inside the constructor of your controller to get the authentication working.
{!! csrf_field() !!}
Or if you are using input tags inside your forms, just add this just after the tag:
<input type="hidden" name="_token" value="{{ csrf_token() }}">
Or clear the cache your browser and try it
Hope this work for you !!!!
Please or to participate in this conversation.