Skip to content

Commit

Permalink
Skip email and password change notification when closing account
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrett committed Jul 10, 2023
1 parent 1d71c94 commit df49989
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ def module_ttc

def redact!
skip_reconfirmation!
skip_email_changed_notification!
skip_password_change_notification!
update!(first_name: 'Redacted',
last_name: 'User',
email: "redacted_user#{id}@example.com",
Expand Down

0 comments on commit df49989

Please sign in to comment.