mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
don't pass notification email into to the default cause it freezes in a potentially incorrect value
This commit is contained in:
@ -4,8 +4,6 @@ require_dependency 'email_builder'
|
||||
class UserNotifications < ActionMailer::Base
|
||||
include EmailBuilder
|
||||
|
||||
default from: SiteSetting.notification_email
|
||||
|
||||
def signup(user, opts={})
|
||||
build_email(user.email, "user_notifications.signup", email_token: opts[:email_token])
|
||||
end
|
||||
|
Reference in New Issue
Block a user