use wcf\system\flood\FloodControl;
use wcf\system\form\builder\container\FormContainer;
use wcf\system\form\builder\field\ButtonFormField;
+use wcf\system\form\builder\field\RejectEverythingFormField;
use wcf\system\form\builder\field\TextFormField;
use wcf\system\form\builder\field\validation\FormFieldValidationError;
use wcf\system\form\builder\field\validation\FormFieldValidator;
->appendChildren([
LanguageItemFormNode::create('enabled')
->languageItem('wcf.user.security.multifactor.email.enabled.description'),
+ RejectEverythingFormField::create(),
]);
$form->appendChild($statusContainer);
} else {