How to prevent users from logging in to multiple devices concurrently

I was able to prevent concurrent logins by adding FEATURES['PREVENT_CONCURRENT_LOGINS'] = True to the "“openedx-common-settings” patch. With this patch I was automatically logged out from one browser when I logged in from another one. To reproduce, I did:

  1. Log in from Firefox
  2. Log in from Chromium
  3. Explore courses in Firefox: I am no longer logged-in.
2 Likes