This package prevents a User from being logged in more than once. It destroys the previous session when a User logs in and thereby allowing only one session per user.
Would you consider to include a custom logout message ?
Something like 'Multiple session detected for [email protected] please login again'.
Thank you for your time.
This package prevents a User from being logged in more than once. It destroys the previous session when a User logs in and thereby allowing only one session per user.
Does this mean I can leave the login page without guest:web middleware?
It would be handy excluding certain users from session checks by including their id as middleware parameters.
For example to exclude users id 1,3,6 we would call the middleware as : Route::group(['middleware' => ['auth', 'single-user-session:1,3,6']], function() { ...