mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 15:09:29 +00:00
Fix error in AdminMailer#new_pending_account (#10264)
This commit is contained in:
parent
6841d8fc74
commit
874bd3ac0c
|
@ -15,8 +15,8 @@ class AdminMailer < ApplicationMailer
|
|||
end
|
||||
end
|
||||
|
||||
def new_pending_account(recipient, account)
|
||||
@account = account
|
||||
def new_pending_account(recipient, user)
|
||||
@account = user.account
|
||||
@me = recipient
|
||||
@instance = Rails.configuration.x.local_domain
|
||||
|
||||
|
|
Loading…
Reference in a new issue