xiaogang 4 years ago
parent
commit
d9ae09a8e5
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Admin/Controllers/UserController.php

+ 3 - 3
app/Admin/Controllers/UserController.php

xqd
@@ -62,9 +62,9 @@ class UserController extends AdminController
 //            $actions->disableEdit();
 //            $actions->append(new UserAction(User::class));
 //            $actions->append(new UserChange(User::class));
-//            if ($actions->row->is_auth == 0) {
-//                $actions->append(new UserAuth(User::class));
-//            }
+            if ($actions->row->is_auth == 0) {
+                $actions->append(new UserAuth(User::class));
+            }
 //            $actions->append(new UserVip(User::class));
         });