Answer the question
In order to leave comments, you need to log in
How to properly build authentication on Laravel?
Hello! I am using Laravel. My goal is to make a personal user account. I need to do the same so that other users can view each other's profiles. I do not really understand how to implement user verification (that is, whether this person who wants to enter his account or some other). Can you tell me how to implement validation using Laravel?
PS I didn't find anything related to Remember Token in Laravel.
Answer the question
In order to leave comments, you need to log in
Viewing each other's profiles by users is not related to authentication. The task of authentication is to check the data entered for it (authentication), compare this data with the corresponding user and open a session for him (i.e. remember that it is he who is currently performing some actions). In order to view the data of other users, you need to write a controller that works with the user model.
https://laravel.ru/docs/v5/authentication
Everything about Remember Token in Russian is here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question