Hello everyone!
I’m attempting to update the Terms of Service and Privacy Policy links on the Registration page, which is controlled by the MFE (Authn) in Tutor. I created the following plugin (with my actual links in place of the placeholders):
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_items(
[
(
"mfe-lms-production-settings",
"""
MFE_CONFIG["PRIVACY_POLICY"] = "link1"
MFE_CONFIG["TOS_AND_HONOR_CODE"] = "link2"
"""
)
]
)
Following the Tutor plugin documentation, I created a custom plugin in “$(tutor plugins printroot)” , enabled it and ran
tutor config save
tutor local restart
This worked perfectly on my test server, my custom links appeared as expected.
However, on my actual server, the same steps do not apply the change, despite also trying running:
tutor images build mfe
Though I’m not sure if that’s necessary? My plugin is enabled, but the modified MFE settings do not show up in env/apps/openedx/settings/lms/production.py
as they do on the test server. For information, I am running tutor version 15.
Has anyone encountered this issue or have any advice? Is something wrong with my plugin?
Thanks in advance!