Commit a963e8c2 authored by Ciro Santilli's avatar Ciro Santilli

Prevent email sending on admin dev seed.

parent 376e004c
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