diff --git a/app/Console/Commands/NewUser.php b/app/Console/Commands/NewUser.php index 1059b6b1e..785d503c2 100644 --- a/app/Console/Commands/NewUser.php +++ b/app/Console/Commands/NewUser.php @@ -39,6 +39,8 @@ public function handle() if ($this->confirm('Should the user be global admin? [y|N]')) { $u->role_id = Role::adminId(); + } else { + $u->role_id = Role::editorId(); } if ($this->confirm('Do you wish to auto-generate a password? [y|N]')) {