xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
d9ae09a8e5
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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));
         });