Keep getting TokenMismatchException VerifyCsrfToken.php on line 46

Posted 4 years ago by kayintveen

Hi all,

I've been working on a application for 4 days now. but since today im totally stuck!

Whatever i do i keep getting: TokenMismatchException in VerifyCsrfToken.php line 46:

This is my login form:

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

When i check the source i see

<input name="_token" hidden value="7WenswFlpBFrtqW2yzzgBYxfBd2NTSa9VDnDkyLr" />

Also checked my session path and the sessions get written with the tokens in it. I',m totally stuck :(

Please sign in or create an account to participate in this conversation.