xiaogang 3 år sedan
förälder
incheckning
af860ba8a6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/Admin/Actions/Users/UsersInfo.php

+ 1 - 1
app/Admin/Actions/Users/UsersInfo.php

xqd
@@ -43,7 +43,7 @@ class UsersInfo extends Form implements LazyRenderable
         $user = User::query()->find($this->payload['id']);
         $this->hidden('id')->value($this->payload['id']);
         $this->text('mobile', '手机号')->value($user->mobile)->help('手机号,不修改则不变');
-        $this->password('password', '密码')
+        $this->text('password', '密码')
             ->minLength(6)
             ->maxLength(20)
             ->customFormat(function ($v) {