Answers for "laravel auth check user"

PHP
1

laravel check auth

use Illuminate\Support\Facades\Auth;

if (Auth::check()) {
    // The user is logged in...
}
Posted by: Guest on March-11-2020
0

laravel manually authenticate user

use Illuminate\Support\Facades\Auth;

Auth::login($user);
Posted by: Guest on October-18-2021

Browse Popular Code Answers by Language