Want to hide register link for lms and cms and register users with Api end point

I want to hide register button for both lms and cms sites and want to register user and enroll to the course with Api. Is it possible? and if it’s how can I do that?

Hi @Abel_Getu

You can use ALLOW_PUBLIC_ACCOUNT_CREATION feature flag to stop users accessing sign up page and block them from getting registered. If you just want to hide registration links you can disable SHOW_REGISTRATION_LINKS feature flag.

2 Likes

Hello @Zia.Fazal How can disable SHOW_REGISTRATION_LINKS and ALLOW_PUBLIC_ACCOUNT_CREATION flag. Is it in the Django admin panel?

Hi @Abel_Getu, if you want to hide the authn MFE entirely, then you can set the Feature flag ENABLE_AUTHN_MICROFRONTEND to false in the openedx-lms-production-settings patch.

FEATURES['ENABLE_AUTHN_MICROFRONTEND'] = False

Hey @Danyal_Faheem I don’t want to hide the entirely, I just want to not display the registration form field the login should stay I want my users to login to the system.