registrationOptions:
    kind: panel.form
    name: registrationOptions
    label: Registration Options
    url: /xapi/siteConfig
    method: POST
    contentType: json
    contents:
        requireEmailVerificationToRegister:
            kind: panel.input.switchbox
            name: emailVerification
            label: "Require Email Verification?"
            onText: Required
            offText: Not Required
            description: >
                If true, users will receive an email after registering for an account and must click a
                link in the email to verify their email address before they are able to use their account.
                If false, no verification emails will be sent and users will not be required to verify their email
                before using their account. Either way the administrator receives an email notification when a user registers.
                If true, users who wish to change their email will also be required to verify their new email address.
        autoEnableUserRegistration:
            kind: panel.input.switchbox
            name: userRegistration
            label: "Auto-enable <br>User Registration?"
            onText: Auto-enable
            offText: Do Not Auto-enable
            description: >
                If true, user accounts will be enabled automatically when the user registers. Users will be able to access the site and any 'public'
                projects immediately. If false, the site administrator will be required to manually enable user accounts. Either way the administrator
                receives an email notification when a user registers.
        autoEnablePar:
            kind: panel.input.switchbox
            name: par
            label: "Auto-enable with <br>Project Access Request?"
            onText: Auto-enable
            offText: Do Not Auto-enable
            description: >
                If true, user accounts created when accepting project access requests will always be enabled (and verified) automatically. If false,
                user accounts will only be enabled automatically if "Auto-enable User Registration?" is true. So this setting determines whether project
                access requests should override how user registration is normally handled. Either way the administrator receives an email notification
                when a user registers.
        uiAllowNewUserComments:
            kind: panel.input.switchbox
            label: "Allow User Comments <br>on Registration?"
            onText: Allow
            offText: Do Not Allow

