@regis do you know if this patch is still effective on Tutor v19? Maybe I wrote my plugin wrong but for me it appears to have no effect, I can login as the same user in multiple devices/browsers. also tried adding it under the following patch directives with no success either.
- openedx-lms-production-settings
- openedx-cms-production-settings
- openedx-lms-common-settings
from tutor import hooks
# Prevent concurrent logins
hooks.Filters.ENV_PATCHES.add_item(
("openedx-common-settings", "FEATURES['PREVENT_CONCURRENT_LOGINS'] = True")
)