Update logistration MFE feature flag (#25356)
update logistration MFE feature flag to not be used in conjunction with Accounts MFE toggle. VAN-11
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
Toggles for accounts related code.
|
||||
"""
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
|
||||
from openedx.core.djangoapps.waffle_utils import WaffleFlag
|
||||
|
||||
@@ -44,10 +42,3 @@ def should_redirect_to_account_microfrontend():
|
||||
configuration_helpers.get_value('ENABLE_ACCOUNT_MICROFRONTEND') and
|
||||
REDIRECT_TO_ACCOUNT_MICROFRONTEND.is_enabled()
|
||||
)
|
||||
|
||||
|
||||
def should_redirect_to_logistration_mircrofrontend():
|
||||
return (
|
||||
should_redirect_to_account_microfrontend() and
|
||||
settings.FEATURES.get('ENABLE_LOGISTRATION_MICROFRONTEND')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user