Prevent/Notify a user to login more than once

Hi
Is it possible to limit user for number of concurrent logins, for example an user permit to login only once with his/her username, if user want to login again while previous session was active the system prompt or notify the user "you have an active session’ or something like this.

Hi @masgarinia,
Welcome back to the community! :pray::hibiscus:

Please see here https://community.dhis2.org/t/limiting-number-of-concurrent-session-by-user/47287/4 it is possible to control number of concurrent sessions; however, the new session will remain and all the other sessions will be logged out (the opposite to your description.)

Is it important which session is kept? At this point it seems like the session that will remain open (if concurrent sessions is kept to 1) is the newest one.

Thanks!

1 Like

Thanks for quick and useful response.
Witch session is not important, but it may bother for customer to sign-out without knowing about the reason.
Let me test the configuration.
Best regards

1 Like