Answer the question
In order to leave comments, you need to log in
How does authentication work in laravel(principle)?
When the user is authenticated:
Auth::login(...)
I check this in the blade template:
@if (auth()->check())
Вход выполнен
@endif
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question