diff --git a/app/controllers/admin/site_panel_controller.rb b/app/controllers/admin/site_panel_controller.rb index cc3ca72..8c0671f 100644 --- a/app/controllers/admin/site_panel_controller.rb +++ b/app/controllers/admin/site_panel_controller.rb @@ -421,7 +421,7 @@ class Admin::SitePanelController < OrbitAdminController end def create_super_manager_cmd(user_name, password) user = User.new(id: nil, user_name: user_name, password: password, beta_tester: true, approved: true) - member_profile = user.build_member_profile(id: nil) + member_profile = user.build_member_profile(id: nil, is_hidden: true) user_attrs = user.attributes user_attrs.delete('_id') user_attrs.delete('member_profile_id')