Skip to content
代码片段 群组 项目
未验证 提交 8ff15823 编辑于 作者: Gary Holtz's avatar Gary Holtz 提交者: GitLab
浏览文件

Merge branch '463888-seed-organization-owner' into 'master'

No related branches found
No related tags found
无相关合并请求
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
user = Users::CreateService.new(transient_admin, user_args.merge!(skip_confirmation: true)).execute user = Users::CreateService.new(transient_admin, user_args.merge!(skip_confirmation: true)).execute
if user.persisted? if user.persisted?
Organizations::Organization.default_organization.add_owner(user)
puts "Administrator account created:".color(:green) puts "Administrator account created:".color(:green)
puts puts
puts "login: root".color(:green) puts "login: root".color(:green)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册