# How to hide Register link from MFE

**URL:** <https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222>\
**Category:** Tutor Help\
**Created:** [October 24, 2024, 5:55pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222 "2024-10-24T17:55:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mboisson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mboisson/32/7551_2.png) [@mboisson](https://discuss.openedx.org/u/mboisson)\
**Post date:** [October 24, 2024, 5:55pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222/1 "2024-10-24T17:55:55Z")

</div>

I am using tutor 18.1.3. I am desperately trying to hide the “Register” link from this page:  
[https://apps.edx.edu-dev.calculquebec.cloud/authn/login](https://apps.edx.edu-dev.calculquebec.cloud/authn/login)  
and I can’t figure out instructions for it to actually work.

After sifting through _many_ posts regarding the same topic, I figured out this seemed the most up to date, but it does not work.

> [@How to customize header and footer in tutor mfe](https://discuss.openedx.org/t/how-to-customize-header-and-footer-in-tutor-mfe/9808/39):
>
> how can i please teach me.

I have defined [brand-openedx/paragon/\_overrides.scss at 0.1 · calculquebec/brand-openedx · GitHub](https://github.com/calculquebec/brand-openedx/blob/0.1/paragon/_overrides.scss)

Configuration parameters are here:

> <https://github.com/calculquebec/edx/blob/main/hieradata-dev/hiera.yaml>

> <https://github.com/calculquebec/puppet-tutor/blob/main/manifests/init.pp>

and added a plugin to install it, and it just is not work. Why is it so complicated ? I have spent over a day trying to hide a single HTML item!

---

<div class="post-metadata">

**Author:** ![Juan-Carlos](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/juan-carlos/32/7075_2.png) [@Juan-Carlos](https://discuss.openedx.org/u/Juan-Carlos)\
**Post date:** [October 24, 2024, 6:17pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222/2 "2024-10-24T18:17:20Z")

</div>

Hello [mboisson](https://discuss.openedx.org/u/mboisson) maybe with this help you can solve the solution:

> [@Change the PLATFORM\_NAME Prefix and Remove/Disable Register Button from Login Page](https://discuss.openedx.org/t/change-the-platform-name-prefix-and-remove-disable-register-button-from-login-page/14016):
>
> I want to customize the text “Start learning with” that comes before the PLATFORM\_NAME (DP Learning). I also want to remoe the register button before the sign in button. I used the command tutor config save --set ALLOW\_PUBLIC\_ACCOUNT\_CREATION=false and tutor config save --set SHOW\_REGISTRATION\_LINKS=false to remove the register button from the [other/home page](https://edx.data-pilot.com/) I have also written a plugin for this. from tutor import hooks hooks.Filters.ENV\_PATCHES.add\_item( ( "openedx-lms-common-…

---

<div class="post-metadata">

**Author:** ![mboisson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mboisson/32/7551_2.png) [@mboisson](https://discuss.openedx.org/u/mboisson)\
**Post date:** [October 24, 2024, 6:35pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222/3 "2024-10-24T18:35:15Z")

</div>

so I need to fork the whole MFE repository just to hide a link ?!

---

<div class="post-metadata">

**Author:** ![mboisson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mboisson/32/7551_2.png) [@mboisson](https://discuss.openedx.org/u/mboisson)\
**Post date:** [October 24, 2024, 7:22pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222/4 "2024-10-24T19:22:47Z")

</div>

I don’t understand, according to

> <https://github.com/calculquebec/frontend-app-authn/blob/master/src/logistration/Logistration.jsx#L126>

and

> <https://github.com/calculquebec/frontend-app-authn/blob/master/src/logistration/Logistration.jsx#L43>

it should check SHOW\_REGISTRATION\_LINKS, and not show the links given that I define SHOW\_REGISTRATION\_LINKS to false here

> <https://github.com/calculquebec/edx/blob/main/hieradata-dev/hiera.yaml#L12>

Why is it not working ? Do I need to set it through something else, like `mfs-lms-production-settings` and `MFE_CONFIG['SHOW_REGISTRATION_LINKS']` ?

---

<div class="post-metadata">

**Author:** ![mboisson](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mboisson/32/7551_2.png) [@mboisson](https://discuss.openedx.org/u/mboisson)\
**Post date:** [October 24, 2024, 7:30pm UTC](https://discuss.openedx.org/t/how-to-hide-register-link-from-mfe/14222/5 "2024-10-24T19:30:18Z")

</div>

Ok, the solution is a plugin that does:

```auto
hooks.Filters.ENV_PATCHES.add_item(("mfe-lms-production-settings", "MFE_CONFIG['SHOW_REGISTRATION_LINKS'] = False"))

```

this is for MFE, while this

```auto
hooks.Filters.ENV_PATCHES.add_item(("common-env-features", "'SHOW_REGISTRATION_LINKS': false"))

```

is for the LMS/CMS.

No need to fork anything or patch any theme.
