New answers tagged

3

Im on Craft v3.4.25, and I've added the following event handler in my module to handle this. There are two scenarios here: either you want the new login to invalidate any existing session, or you want to block the new login if an active session exists. If you want the new session to succeed, and log out any other sessions for that same user, you can do this: ...


Top 50 recent answers are included