+ userConfig: add configuration items of forget password form.

This commit is contained in:
liugang
2023-11-28 15:41:18 +08:00
parent 3d1b68de23
commit 3916226bd1
+5
View File
@@ -102,8 +102,13 @@ $config->user->form->batchEdit['slack'] = array('required' => false, 'type' =
$config->user->form->batchEdit['address'] = array('required' => false, 'type' => 'string', 'width' => '160px', 'name' => 'address', 'label' => $lang->user->address, 'control' => 'text', 'default' => '');
$config->user->form->batchEdit['zipcode'] = array('required' => false, 'type' => 'string', 'width' => '120px', 'name' => 'zipcode', 'label' => $lang->user->zipcode, 'control' => 'text', 'default' => '');
$config->user->form->reset = array();
$config->user->form->reset['account'] = array('required' => true, 'type' => 'string', 'default' => '');
$config->user->form->reset['password1'] = array('required' => true, 'type' => 'string', 'default' => '');
$config->user->form->reset['password2'] = array('required' => true, 'type' => 'string', 'default' => '');
$config->user->form->reset['passwordLength'] = array('required' => false, 'type' => 'int', 'default' => 0);
$config->user->form->reset['passwordStrength'] = array('required' => false, 'type' => 'int', 'default' => 0);
$config->user->form->forgetPassword = array();
$config->user->form->forgetPassword['account'] = array('required' => true, 'type' => 'string', 'default' => '');
$config->user->form->forgetPassword['email'] = array('required' => true, 'type' => 'string', 'default' => '');