I have a problem with sessions or cookies, I did not understand the reason.
I sign up to my site using Auth::attempt($userdata, false) , which means that Laravel should not remember my login, but it remembers whether I use true or false in the try function.
in app/config/session.php , variables are defined as
'lifetime' => 120, 'expire_on_close' => true,
Also, when I log in using the Auth::attempt($userdata, true) function, 'Auth::viaRemember()' returns false .
Edit: Issue resolved. The cause of the problem is Chrome. For more information, see My answer.
source share