title: Laravel 5.4 - TokenMismatchException in VerifyCsrfToken.php line 68:
body: <p>Error:</p>
  
  <pre><code>TokenMismatchException in VerifyCsrfToken.php line 68:
  </code></pre>
  
  <p>Tokens:</p>
  
  <pre><code>Token: KtRuC4JIT5ANiUvHf4ppcm5gHn1w9hYXc7yYS2Yz
  ST: LvQ2yi0QdLcTSlIY4SxuNYhGswNZGUnInRorxQkG
  </code></pre>
  
  <p>How am I displaying tokens?</p>
  
  <pre><code>echo 'Token: ' . $token;
  echo 'ST: ' . $request-&gt;session()-&gt;token(); 
  exit();
  </code></pre>
  
  <p>Have I added the _token input? <br>
  Yes, this was working fine for some time while developing, but randomly broke during development.
  <br><br>Have I tried just <code>return true;</code> on top of the <code>tokensMatch</code> function?<br>
  Yes, that just redirects me to the login page without any messages, logs me in but instantly logs me out back to the login page.
  <br><br>Anyone who can help?</p>