I am using Laravel 5.4 and trying to implement authentication system. I used php artisan command make:auth to setup it. I edited the views according to my layout. Now, when
You can use the following in your controller:
return redirect('login')->with(Auth::logout());