mirror of https://gitee.com/karson/fastadmin.git
优化user验证
parent
0236b39df0
commit
1c62049989
|
|
@ -32,7 +32,7 @@ class User extends Validate
|
|||
*/
|
||||
protected $scene = [
|
||||
'add' => [],
|
||||
'edit' => ['username', 'email', 'nickname', 'password', 'email', 'mobile'],
|
||||
'edit' => ['username', 'nickname', 'password', 'email', 'mobile'],
|
||||
];
|
||||
|
||||
public function __construct(array $rules = [], $message = [], $field = [])
|
||||
|
|
|
|||
Loading…
Reference in New Issue