I want to hide registration form fields and able users only see login form

I hide the register button using SHOW_REGISTRATION_LINKS feature flag and disable registration ALLOW_PUBLIC_ACCOUNT_CREATION feature flag but still the registration form is visible to the user. Is there any way I can hide this form field?

Hey @Abel_Getu , i was able to hide the registration form button through setting ALLOW_PUBLIC_ACCOUNT_CREATION to false by adding

hooks.Filters.ENV_PATCHES.add_item(
    (
        "openedx-lms-common-settings",
        "FEATURES['ALLOW_PUBLIC_ACCOUNT_CREATION'] = False"
    )
)

to plugin

Hello @Abdul_Muqadim I hide registration button with ALLOW_PUBLIC_ACCOUNT_CREATION but I want to hide the registration form field. I want only login page

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.