laravel auth different user page code example
Example 1: how login one user with id in laravel
public function manualLogin(){
$user = User::find(1);
Auth::login($user);
return redirect('/');
}
///////////////////////////////////////////////////////////////
// or
Auth::logout();
Example 2: laravel auth
composer require laravel/ui:^2.4
php artisan ui vue --auth