Support the ongoing development of Laravel.io →
posted 9 years ago
Configuration
Last updated 2 years ago.
0

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() !!}" />
0

No, I displayed it from browser view source.

0

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 9 years ago.
0

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?

Thanks

0

Sign in to participate in this thread!

Eventy

Your banner here too?

frocco frocco Joined 3 Feb 2014

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.