I'm trying to implement a user policy whereby only one user can login at a time. I'm trying to build this on top of Laravel's Auth driver.
I've thought of using the Session driver to store the sessions in the database and make the keys constant for each username. This is probably a terrible implementation because of session fixation.
What would the implementation be like? What methods in the Auth driver should I be editing? Where would the common session key be stored?
See Question&Answers more detail:os