gitlabhq/db/fixtures/development/001_admin.rb
2011-10-09 00:36:38 +03:00

11 lines
197 B
Ruby

# Admin account
admin = User.create(
:email => "admin@local.host",
:name => "Administrator",
:password => "5iveL!fe",
:password_confirmation => "5iveL!fe"
)
admin.admin = true
admin.save!