提交 f4733b00 编写于 作者: D Dmitriy Zaporozhets

Confirm seed users

上级 9f9be175
......@@ -11,3 +11,5 @@ User.seed(:id, [
theme_id: Gitlab::Theme::MARS
}
])
User.find(1).confirm!
......@@ -12,6 +12,7 @@ admin = User.create(
admin.projects_limit = 10000
admin.admin = true
admin.save!
admin.confirm!
if admin.valid?
puts %q[
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册