Skip to content

Commit

Permalink
fix: Add again email_on_notification
Browse files Browse the repository at this point in the history
  • Loading branch information
AyakorK committed Oct 25, 2023
1 parent 81be3e0 commit 33a33a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/commands/decidim/create_registration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/commands/decidim/create_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 33a33a0

Please sign in to comment.