Skip to content

Commit

Permalink
Make sure users are counted as active the moment they are approved an…
Browse files Browse the repository at this point in the history
…d confirmed
  • Loading branch information
ClearlyClaire committed Mar 6, 2023
1 parent 5ecd6a0 commit 9d8b656
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/user.rb
Expand Up @@ -507,6 +507,7 @@ def sanitize_role
def prepare_new_user!
BootstrapTimelineWorker.perform_async(account_id)
ActivityTracker.increment('activity:accounts:local')
ActivityTracker.record('activity:logins', id)
UserMailer.welcome(self).deliver_later
TriggerWebhookWorker.perform_async('account.approved', 'Account', account_id)
end
Expand Down

0 comments on commit 9d8b656

Please sign in to comment.