xiaogang před 4 roky
rodič
revize
a8991420ea
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      app/Admin/Controllers/UserController.php

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

@@ -58,9 +58,9 @@ class UserController extends AdminController
             $actions->disableEdit();
             $actions->disableEdit();
             $actions->append(new UserAction(User::class));
             $actions->append(new UserAction(User::class));
             $actions->append(new UserChange(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));
             $actions->append(new UserVip(User::class));
         });
         });