W
W
WebDev2016-04-16 15:32:54
Laravel
WebDev, 2016-04-16 15:32:54

"Remember me" in laravel?

When a user is authorized via auth()->login($user, true), a cookie is issued for 5 years, but if you log in under this account from another computer or device, then the cookie is reset on the previous device.
How to make user remembering for different devices?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2016-04-16
@kirill-93

By the basic means of the framework - no way, because the remember_token field in the user tables is one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question