laravel one session per user

Solutions on MaxInterview for laravel one session per user by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "laravel one session per user"
Vincent
04 Apr 2020
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