Support the ongoing development of Laravel.io →
Security Input Session
Last updated 2 years ago.
0

You probably are in my same stuff.

http://laravel.io/forum/03-21-2016-token-from-and-session-token-are-different-using-mobile-browser-login-action

Change this:

{!! csrf_field() !!}

By this:

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

I see this the _token value changes in every webpage refresh. If yes probably your session are recreated in each request. I am in the same error but this only happens in mobile devices, from desktop all works ok.

0

@developez

the input type must be hidden. :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.