I used Laravel Auth for the authentication but i am not able to use Auth::check()
in blade file, it returns 500 error when i use following code.
@if (Auth::check())
logged
@endif
i also tried \Auth::check()
and \Auth::user()
, nothing seems to work in view file. But works just fine in controller
via Divyank