Answers for "change login of laravel auth"

PHP
0

Auth log out laravel

Auth::logout();
Posted by: Guest on August-11-2020
1

auth::login in laravel

public function manualLogin(){
    $user = User::find(1);
    Auth::login($user);
    return redirect('/');
}


or 
  
  
  Auth::logout();
Posted by: Guest on May-24-2021

Browse Popular Code Answers by Language