forked from treehouse/mastodon
Fix error in AdminMailer#new_pending_account (#10264)
parent
6841d8fc74
commit
874bd3ac0c
|
@ -15,8 +15,8 @@ class AdminMailer < ApplicationMailer
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def new_pending_account(recipient, account)
|
def new_pending_account(recipient, user)
|
||||||
@account = account
|
@account = user.account
|
||||||
@me = recipient
|
@me = recipient
|
||||||
@instance = Rails.configuration.x.local_domain
|
@instance = Rails.configuration.x.local_domain
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue