W
W
WebDev2015-11-23 15:37:01
Laravel
WebDev, 2015-11-23 15:37:01

Remember me in Laravel 4.2?

Hello, please tell me how to make remember_me on different devices? As I understand it, when authorizing with remembering a password, a token is written to the database, which overwrites the old one.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Tarakhonich, 2015-11-23
@kirill-93

Nothing out of the box, redefine the Auth class with your own, with the ability to write tokens to a separate table and pull them from there when trying to authorize by a token.
How to extend/override the Auth class here for more details: laravel.com/docs/4.2/extending#authentication

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question