New welcome email (#28883)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
This commit is contained in:
@@ -490,7 +490,7 @@ class User < ApplicationRecord
|
||||
BootstrapTimelineWorker.perform_async(account_id)
|
||||
ActivityTracker.increment('activity:accounts:local')
|
||||
ActivityTracker.record('activity:logins', id)
|
||||
UserMailer.welcome(self).deliver_later
|
||||
UserMailer.welcome(self).deliver_later(wait: 1.hour)
|
||||
TriggerWebhookWorker.perform_async('account.approved', 'Account', account_id)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user