Laravel 5.4 TokenMismatchException in VerifyCsrfToken.php line 68

后端 未结 4 1213
走了就别回头了
走了就别回头了 2020-12-18 11:07

When I login for the first time it works perfectly but when I log out from my app and try to re-login I get this error.

I\'ve tried almost every available solutions

4条回答
  •  离开以前
    2020-12-18 11:46

    Go to config/session file and check if you have this line below:

    'domain' => env('SESSION_DOMAIN', null)
    

    If yes, then visit your .env file and also set like this:

    SESSION_DOMAIN=null
    

    Then refresh, should be fine.

提交回复
热议问题