src/Extensions/SiteConfigExtension.php
public function updateCMSFields(FieldList $fields)
    {
        $fields->addFieldToTab(
            'Root.MFA',
            $checkbox = CheckboxField::create(
                'EnforceMFA',
                _t(self::class . '.ENFORCEMFA', 'Enforce MFA on all users'),
                $this->isMFAEnforced()
            )
        );
        $checkbox->setDescription(null);

        $this->updateCheckboxDescription($fields);
    }
public function updateCMSFields(FieldList $fields)
    {
        $fields->addFieldToTab(
            'Root.MFA',
            $checkbox = CheckboxField::create(
                'EnforceMFA',
                _t(self::class . '.ENFORCEMFA', 'Enforce MFA on all users'),
                $this->isMFAEnforced()
            )
        );
        $checkbox->setDescription(null);

        $this->updateCheckboxDescription($fields);
    }
public function updateCMSFields ( FieldList $ fields ) { $ fields -> addFieldToTab ( 'Root.MFA' , $ checkbox = CheckboxField :: create ( 'EnforceMFA' , _t ( self :: class . '.ENFORCEMFA' , 'Enforce MFA on all users' ) , $ this -> isMFAEnforced ( ) ) ) ; $ checkbox -> setDescription ( null ) ; $ this -> updateCheckboxDescription ( $ fields ) ; }
Add the checkbox and if enabled the date since enforcement

@param FieldList $fields
Add the checkbox and if enabled the date since enforcement