Home > Software engineering >  Laravel 8 with xampp
Laravel 8 with xampp

Time:01-18

I'm having error after clicking register button.

enter image description here

Register Controller

enter image description here

Blade View

enter image description here

@csrf is added below my post method. Any help or solutions will be helpful.

CodePudding user response:

Try alternative

<input type="hidden" name="_token" value="{{csrf_token()}}"> Save

CodePudding user response:

under the form tag try this one: @csrf

  •  Tags:  
  • Related