This commit is contained in:
gitlabhq 2011-10-21 20:58:04 +03:00
parent 86021a7dc3
commit 6d0175e1f6
5 changed files with 23 additions and 80 deletions

View file

@ -1,4 +1,3 @@
# Admin account
admin = User.create(
:email => "admin@local.host",
:name => "Administrator",
@ -9,3 +8,12 @@ admin = User.create(
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

View file

@ -8,3 +8,12 @@ admin = User.create(
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