Y
Y
Yuri Voronin2019-02-07 11:50:53
Laravel
Yuri Voronin, 2019-02-07 11:50:53

How to fix The page has expired due to inactivity error?

Hello.
I am just starting to learn Laravel. Got to authenticate.
There is a clean project, I entered php artisan make:auth in the console , created a table, connected it to .env, did php artisan migrate .
The site opens
5c5bf0c2d19f3867479761.png
I go to the registration page, fill in all the fields. When you try to register, a page is displayed:
5c5bf13b9baf7553721741.png
Googled, they write what needs to be added to the form {{ csrf_field() }} , but this was already the case. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2019-02-09
@v_decadence

See if the value in csrf_field is different every time the page is refreshed. This means that there is a problem with writing to the sessions folder and a new one starts every time, so the token never matches.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question