diff --git a/app/commands/decidim/create_registration.rb b/app/commands/decidim/create_registration.rb index ccf29588..02282ca0 100644 --- a/app/commands/decidim/create_registration.rb +++ b/app/commands/decidim/create_registration.rb @@ -46,7 +46,7 @@ def create_user organization: form.current_organization, tos_agreement: form.tos_agreement, newsletter_notifications_at: form.newsletter_at, - email_on_notification: false, + email_on_notification: true, accepted_tos_version: form.current_organization.tos_version, locale: form.current_locale, registration_metadata: registration_metadata diff --git a/spec/commands/decidim/create_registration_spec.rb b/spec/commands/decidim/create_registration_spec.rb index d675019c..f7667daf 100644 --- a/spec/commands/decidim/create_registration_spec.rb +++ b/spec/commands/decidim/create_registration_spec.rb @@ -151,7 +151,7 @@ module Comments password: form.password, password_confirmation: form.password_confirmation, tos_agreement: form.tos_agreement, - email_on_notification: false, + email_on_notification: true, organization: organization, accepted_tos_version: organization.tos_version, locale: form.current_locale,