Commit 35152e3c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7895 from cirosantilli/quiet-admin-dev-seed

Prevent email sending on admin dev seed.
parents 3dc9a67c a963e8c2
User.seed do |s|
s.id = 1
s.name = "Administrator"
s.email = "admin@example.com"
s.username = 'root'
s.password = "5iveL!fe"
s.password_confirmation = "5iveL!fe"
s.admin = true
s.projects_limit = 100
s.confirmed_at = DateTime.now
Gitlab::Seeder.quiet do
User.seed do |s|
s.id = 1
s.name = 'Administrator'
s.email = 'admin@example.com'
s.username = 'root'
s.password = '5iveL!fe'
s.password_confirmation = '5iveL!fe'
s.admin = true
s.projects_limit = 100
s.confirmed_at = DateTime.now
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment