Jellyfin Forum
Kick users instead of blocking them - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Kick users instead of blocking them (/t-kick-users-instead-of-blocking-them)



Kick users instead of blocking them - Demeaning4499 - 2024-10-16

Hi,

I was wondering, how could i limit max concurrent sessions of my users without blocking them ?
For a bit of context, i want to limit my users to only one session (or a little more depending on the needs) because they often watch on a single device. All that is to prevent account sharing.

But, if a user is already connected to device A, he just can't connect to B at all (outputting some generic error message). The common sense would be that when they try to log on device B, the current session of device A terminate, am i wrong ?

Thank you !


RE: Kick users instead of blocking them - TheDreadPirate - 2024-10-16

They would have to log off of device A to log onto device B. The current behavior will not automatically log out A when you log into B.

I'm not sure if there is anything in the pipeline to change that behavior.


RE: Kick users instead of blocking them - Demeaning4499 - 2024-10-17

Shoot, I wished it was some weird behavior on my side ... At least it would be nice if the error message explicitly tell the user to log off and even tell them which device is logged in, something like "Unable to log in, exceeding concurrent sessions limit. Please logout from your other devices. (XXX, XXX, XXX)" where XXX could be the devices names.

I should take a look if i can make a modification, i would be happy to contribute.

Thank you for your time !