A
A
Alex1222016-11-15 13:16:53
Laravel
Alex122, 2016-11-15 13:16:53

How to authorize a user in Laravel 5.3.22?

Hello! Please help me figure out authentication in laravel 5. I googled for a long time and rummaged through many sites. Yes, there is a lot of information on the Internet about authentication. But a certain AuthController is used everywhere. I have Laravel 5.3.22, but I don't have this controller! maybe my mistake is installing not stable version of laravel? I used to write in yii2, but now I urgently need to deal with user authentication on laravel and log the user into the system (I already wrote the registration method myself). In yii2, there was a login method in the user component, with which you could easily log in a user already pulled from the database. But I have not yet figured out how to log in a user in laravel. I understand that the question is rather chaotic, but please tell me,

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-11-15
@Alex122

What is there to understand? it's already set up there, ready to go. Removed AuthController in 5.3.
https://laravel.com/docs/5.3/authentication

V
Vladislav Dmitruk, 2016-11-15
@webdevlix

in the console command: php artisan make:auth

S
Sergey Semenko, 2016-11-15
@abler98

https://laravel.com/docs/5.3/authentication
https://github.com/laravel/laravel/tree/master/app...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question