Confirm seed users

This commit is contained in:
Dmitriy Zaporozhets 2013-10-15 12:23:25 +03:00
parent 9f9be175e0
commit f4733b0026
2 changed files with 3 additions and 0 deletions

View file

@ -11,3 +11,5 @@ User.seed(:id, [
theme_id: Gitlab::Theme::MARS
}
])
User.find(1).confirm!

View file

@ -12,6 +12,7 @@ admin = User.create(
admin.projects_limit = 10000
admin.admin = true
admin.save!
admin.confirm!
if admin.valid?
puts %q[