mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: rake admin:invite sends an email that makes it clear that an account was created for the recipient
This commit is contained in:
@@ -30,6 +30,10 @@ class UserNotifications < ActionMailer::Base
|
||||
email_token: opts[:email_token])
|
||||
end
|
||||
|
||||
def account_created(user, opts={})
|
||||
build_email( user.email, template: "user_notifications.account_created", email_token: opts[:email_token])
|
||||
end
|
||||
|
||||
|
||||
def digest(user, opts={})
|
||||
@user = user
|
||||
|
||||
Reference in New Issue
Block a user