Laravel 5.5 login and register page says:The page has expired due to inactivity.[TokenMismatchException] : <p>I just created a new project of laravel version 5.5 with the laravel installer.And run the command "<em>php artisan make:auth</em>".The views and controller are generated for the user authentication.And also run "<em>php artisan migrate</em>" to create tables needed in the database.When visiting the login page and register page,filling the form and submit.It shows "The page has expired due to inactivity. Please refresh and try again.".But refreshing the page does nothing help.
Seen in the source code,where causes the exception:</p>

<pre><code>if ($e instanceof ModelNotFoundException) {
        $e = new NotFoundHttpException($e-&gt;getMessage(), $e);
    } elseif ($e instanceof AuthorizationException) {
        $e = new AccessDeniedHttpException($e-&gt;getMessage());
    } elseif ($e instanceof TokenMismatchException) {
        $e = new HttpException(419, $e-&gt;getMessage());
    }
</code></pre>

<p>It seems "TokenMismatchException" causing this problem.
When did this happen?And why?I just create this new project and did not do any other changes.
Hope you got the points.
I use php 7.1.9(laravel 5.5 requires php > 7.0.0).And serve the project in develop environment with:php artisan serve</p>
