I am using Litespeed and its cache for my larval app I have installed the package litespeed/lscache-laravel
I am generating csrf as
@if(env('ESI_ENABLED'))
<input type="hidden" frm="cache" name="_token" value='<esi:include src="/csrf" />'>
@else
<input type="hidden" id="_token" value="">
@endif
this works fine.
but the issue is
{!! Form::open(['route'=>'signin.post','method'=>'post']) !!}
this adds csrf hidden input automatically so how do I override it to add my own ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire