Support the ongoing development of →
posted 7 years ago
Last updated 7 months ago.

The value in

<input name="_token" type="hidden" value="g6WbosXX6IfeZ4SHtRmS4j7CoOpZiIWGZURJD7ay"

is not actually hard coded right?

This is how it should look like

<input name="_token" hidden value="{!! csrf_token() !!}" />

No, I displayed it from browser view source.


Having the exact same in the standard login form.

<form id="form-login" class="p-t-15" role="form" method="POST" action="/auth/login">
          <input type="hidden" name="_token" value="{{{ csrf_token() }}}" />

While it worked earlier today. did not change a thing. Just changed it as its stated above, also not working. this is the source for the inspector

 <input name="_token" hidden value="j7KvWuQYt6LhijHDGTjW6Xht8PRyVT3X5MrySCMh" />
Last updated 7 years ago.

Well, I tried recreated a L5 project and still get this error. If I cannot resolve this, I will need to downgrade to L4.

Is this a widespread issue or did I miss something?



Sign in to participate in this thread!


Your banner here too?

frocco frocco Joined 3 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.