benedmunds / CodeIgniter-Ion-Auth

Simple and Lightweight Auth System for CodeIgniter
http://benedmunds.com/ion_auth/
MIT License
2.35k stars 1.14k forks source link

Verify if the user is ON LINE #1499

Closed jaiasoftware closed 3 years ago

jaiasoftware commented 3 years ago

Hi Ed!

My aplication need the user logegd in only once, but, in ION-AUTH i don't see anywhere for this, can you help me with any sugestion, please?

benedmunds commented 3 years ago

That isn't supported currently. To do this in your app you'd need to track sessions and then kill any other active sessions for that user when they log in.

You could check past issues for ideas on how to accomplish this, here one: https://github.com/benedmunds/CodeIgniter-Ion-Auth/issues/947