mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 16:35:49 +08:00
FIX: notify_old_email template did not had new_email
This commit is contained in:
parent
622dc82481
commit
478418e780
@ -127,7 +127,7 @@ module Jobs
|
||||
email_args[:email_token] = email_token
|
||||
end
|
||||
|
||||
if type == :notify_old_email
|
||||
if type.to_s == "notify_old_email"
|
||||
email_args[:new_email] = user.email
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user