gitlabhq/db/fixtures/development/001_admin.rb

20 lines
328 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +02:00
admin = User.create(
:email => "admin@local.host",
:name => "Administrator",
:password => "5iveL!fe",
:password_confirmation => "5iveL!fe"
)
2011-10-09 20:15:01 +02:00
admin.projects_limit = 10000
2011-10-08 23:36:38 +02:00
admin.admin = true
admin.save!
2011-10-21 19:58:04 +02:00
if admin.valid?
puts %q[
Administrator account created:
login.........admin@local.host
password......5iveL!fe
]
end