Browse Source

对邮箱验证码的校核取消

jace 6 years ago
parent
commit
194f4a99c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      normandcrm/crm/backend/models/forms/RePwdForm.php

+ 1 - 1
normandcrm/crm/backend/models/forms/RePwdForm.php

@@ -28,7 +28,7 @@ class RePwdForm extends Model
             ['username', 'email'],
             [['password', 'rePassword'], 'string', 'min' => 6, 'max' => 16, 'message' => '{attribute}是6-16位数字或字母'],
             ['rePassword', 'compare', 'compareAttribute' => 'password', 'message' => '两次密码不一致'],
-            [['type', 'code'], 'integer'],
+            [['type'], 'integer'],
             [['type'], 'default', 'value' => 1],
         ];
     }