Tutor TOS and Honor Code enable on registration

I want to enable Terms of Service and Honor Code check box on the Registration page. I can see that common_lms.py - has the specific lines which control it:

# Better layout of honor code/tos links during registration
REGISTRATION_EXTRA_FIELDS["terms_of_service"] = "required"
REGISTRATION_EXTRA_FIELDS["honor_code"] = "required"

I modified them and then installed tutor using the modified github code- but I cannot still see the check button in registration page.

Can any one please guide.
Steps I took:

    • Install using pip install -e .
  1. Launch tutor using: tutor local launch

Hi @amita-kapoor!

The TOS and Honor check box was removed from the auth MFE (I’m not sure why…). We had to customize the MFE to make it work again.

Thanks Andres for your reply. Can you please direct me to tutoroal or documentation that I can use to customize the MFE to make it work again. I have gone through auth github, but am lost - as there it appears that TOS and honor code should appear,

Hi @amita-kapoor, unfortunately there is no easy way to do that. You will have to fork the repo and update the code according to your needs.

Thanks Andres, I tried with Indigo and Openedx Githubs cloning and modifying the Registration- but no effect. The effect takes place if I disable MFE, but otherwise I cannot see the checkbox for Honor Code and Terms of service. I am not sure which component of MFE should I change.

You need to customize GitHub - openedx/frontend-app-authn: Open edX micro-frontend application for new login and registration experience. I suggest you contact a front end developer from the list of partners in Open edX platform installation and hosting - Open edX.