diff --git a/app/lib/fake_data/staff_generator.rb b/app/lib/fake_data/staff_generator.rb index ae9814da07..bce90f938e 100644 --- a/app/lib/fake_data/staff_generator.rb +++ b/app/lib/fake_data/staff_generator.rb @@ -5,7 +5,12 @@ class FakeData::StaffGenerator def call RECORDS.each do |record| - Staff.create!(confirmed_at: Time.zone.now, password: "password", **record) + Staff.create!( + confirmed_at: Time.zone.now, + password: "password", + change_email_permission: true, + **record, + ) end end