From 6d2bd1bf40e1579aaad7d4ee1f7bac6125d0df5f Mon Sep 17 00:00:00 2001 From: Jonathan Khoo Date: Sat, 6 Jan 2024 14:47:15 +1300 Subject: [PATCH] Add system/mailer settings to db/seeds.rb These are currently created during migrations, but we plan to remove this behaviour in #243. The values are left blank, as they need to be set manually anyway. --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index a8524876..543b2313 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -34,7 +34,7 @@ superadmin.users.push(rootuser) unless superadmin.users.include?(rootuser); end -["recaptcha/public_key","recaptcha/private_key"].each do |setting| +["recaptcha/public_key", "recaptcha/private_key", "system/mailer/username", "system/mailer/password"].each do |setting| Setting.find_or_create_by(key: setting) end