solved Login restrictions

alt=
DannyA
@dannya
10 years ago
584 posts
1. Is it possible to force a logoff of a currently active session?
2. Is it possible to limit the number of concurrent connections with the same account?
updated by @dannya: 01/21/17 10:55:08PM
michael
@michael
10 years ago
7,826 posts
1. yes by either the USERS ONLINE tab in the dashboard, or setting the site to maintenance mode.
2.?? tabs open for an account in their browser? no.
alt=
DannyA
@dannya
10 years ago
584 posts
To clarify #2-

Multiple tabs on same computer is ok. But want to prevent them from sharing account. So being able to limit the same account to concurrent logins on 2-3 different computers or mobile devices. After that, somone gets logged off.
michael
@michael
10 years ago
7,826 posts
You'd need a module to do that. Listen for the login event then run the checks.

Docs: "Jamroom Developers Guide ยป Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1011/events-and-listeners
alt=
DannyA
@dannya
10 years ago
584 posts
Ok. thanks.

Tags