openedx / openedx/openedx-platform

PREVENT_CONCURRENT_LOGINS

Open
#36,669 1 comment 0 reactions 1 assignee View on GitHub

@kemalatgithub is already working on this.

Since Jul 18, 2025.

Dominant language
Python
Stars
8.2k
Forks
4.4k
Avg merge
6d 18h
Merged PRs (30d)
42

Description

https://github.com/openedx/edx-platform/blob/ec51d5da93f9c9ca4a6019f39d2d8f3708926c7e/cms/envs/common.py#L266
There's a common envs feature flag that prevents users from having multiple sessions open at the same time, however it appears that when used in conjunction with MFE's this setting has no effect.

Unsure if this should rather be posted in a corresponding MFE on Github or if this is better suited to here in the base platform, apologies if I am in the wrong place

For more info related to this discussion please see https://discuss.openedx.org/t/how-can-i-prevent-multiple-logins-in-openedx-installed-in-tutor/15706

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.