protected function createForm() {
parent::createForm();
+ $this->form->markRequiredFields(false);
$this->form->appendChildren([
TemplateFormNode::create('loginAs')
->templateName('__reauthenticationLoginAs'),
* @inheritDoc
*/
public function createAuthenticationForm(IFormDocument $form, Setup $setup): void {
+ $form->markRequiredFields(false);
+
$sql = "SELECT *
FROM wcf".WCF_N."_user_multifactor_backup
WHERE setupID = ?";
* @inheritDoc
*/
public function createAuthenticationForm(IFormDocument $form, Setup $setup): void {
+ $form->markRequiredFields(false);
+
$sql = "SELECT code, createTime
FROM wcf".WCF_N."_user_multifactor_email
WHERE setupID = ?
* @inheritDoc
*/
public function createAuthenticationForm(IFormDocument $form, Setup $setup): void {
+ $form->markRequiredFields(false);
+
$sql = "SELECT *
FROM wcf".WCF_N."_user_multifactor_totp
WHERE setupID = ?