We’re concerned about users that can sign up for the platform that are under the settings.PARENTAL_CONSENT_AGE_LIMIT which defaults to 13.
Are there any restrictions in place on the registration page to restrict learners under this parental consent age limit?
On previous edX releases, the registration page included a year_of_birth field and I found the following functions in UserProfile that may be helpful.
_calculate_age
This is helpful although the parameters passed only calculate age based on birth year passed. There is a conservative -1 that is applied.
requires_parental_consent
This function could be called on the registration page as a check to see if someone is eligible to enroll without parental consent needed.