1Firstly uncomment out the:
2
3\Illuminate\Session\Middleware\AuthenticateSession::class, line from App\Http Kernel.php class.
4
5Secondly add this line in your login controller function just after login attempt successfully and before redirection: \Auth::logoutOtherDevices(request('password'));
6