From 9c87e03c0cea19b44538914366c413e369a85b44 Mon Sep 17 00:00:00 2001 From: Emmet Young Date: Mon, 23 Jan 2017 13:24:14 +1100 Subject: [PATCH] Repair the admin side add user functionality. --- app/Http/Controllers/Admin/UserController.php | 1 + resources/views/admin/users/new.blade.php | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/app/Http/Controllers/Admin/UserController.php b/app/Http/Controllers/Admin/UserController.php index 8e4425a80..dd73856c4 100644 --- a/app/Http/Controllers/Admin/UserController.php +++ b/app/Http/Controllers/Admin/UserController.php @@ -122,6 +122,7 @@ class UserController extends Controller 'name_first', 'name_last', 'username', + 'root_admin', ])); Alert::success('Account has been successfully created.')->flash(); diff --git a/resources/views/admin/users/new.blade.php b/resources/views/admin/users/new.blade.php index abd7cadb0..8e0297b51 100644 --- a/resources/views/admin/users/new.blade.php +++ b/resources/views/admin/users/new.blade.php @@ -61,6 +61,16 @@ +
+ +
+ +

Setting this to 'Yes' gives a user full administrative access.

+
+