Skip to content

Commit 9c50d4d

Browse files
ssurendrannairsubhashree-sahu31
authored andcommitted
fix: replace hardcoded ENABLE_AUTHN_MICROFRONTEND with env-driven value
1 parent f53f4a6 commit 9c50d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/envs/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@
579579
# .. toggle_tickets: 'https://github.com/openedx/edx-platform/pull/24908'
580580
# .. toggle_warning: Also set settings.AUTHN_MICROFRONTEND_URL for rollout. This temporary feature
581581
# toggle does not have a target removal date.
582-
ENABLE_AUTHN_MICROFRONTEND = True
582+
ENABLE_AUTHN_MICROFRONTEND = os.getenv("EDXAPP_ENABLE_AUTHN_MFE", "false").lower() == "true"
583583

584584
# .. toggle_name: settings.ENABLE_CATALOG_MICROFRONTEND
585585
# .. toggle_implementation: DjangoSetting

0 commit comments

Comments
 (0)