Browse Source

优化管理员密码表单代码

jqh 5 năm trước cách đây
mục cha
commit
7b9c886671
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Controllers/UserController.php

+ 1 - 1
src/Controllers/UserController.php

@@ -176,7 +176,7 @@ class UserController extends AdminController
                     ->minLength(5)
                     ->maxLength(20)
                     ->customFormat(function () {
-                        return;
+                        return '';
                     });
             } else {
                 $form->password('password', trans('admin.password'))