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| Gitlab::Seeder.quiet do
User.seed do |s|
s.id = 1 s.id = 1
s.name = "Administrator" s.name = 'Administrator'
s.email = "admin@example.com" s.email = 'admin@example.com'
s.username = 'root' s.username = 'root'
s.password = "5iveL!fe" s.password = '5iveL!fe'
s.password_confirmation = "5iveL!fe" s.password_confirmation = '5iveL!fe'
s.admin = true s.admin = true
s.projects_limit = 100 s.projects_limit = 100
s.confirmed_at = DateTime.now s.confirmed_at = DateTime.now
end
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