gitlabhq/db/fixtures/development/001_admin.rb
Dmitriy Zaporozhets ba8048d710 v1.1.0
2011-10-22 16:07:26 +03:00

20 lines
328 B
Ruby

admin = User.create(
:email => "admin@local.host",
:name => "Administrator",
:password => "5iveL!fe",
:password_confirmation => "5iveL!fe"
)
admin.projects_limit = 10000
admin.admin = true
admin.save!
if admin.valid?
puts %q[
Administrator account created:
login.........admin@local.host
password......5iveL!fe
]
end