The common way using "@if" blade directive.
@if (auth()->user()) // the user is authenticated @endif
When using "@auth" blade directive.
@auth // the user is authenticated @endauth
1.1K
3 years ago
0 comments
@if (auth()->user()) // the user is authenticated @endif
@auth // the user is authenticated @endauth
Frontend
Resource
Average
Average
No recent searches
Leave a reply