Actually send the mail
This commit is contained in:
parent
2a863987bc
commit
95930a7aa5
|
@ -900,6 +900,7 @@ defp maybe_send_registration_email(%User{email: email} = user) when is_binary(em
|
|||
false <- Config.get([:instance, :account_approval_required], false) do
|
||||
user
|
||||
|> Pleroma.Emails.UserEmail.successful_registration_email()
|
||||
|> Pleroma.Emails.Mailer.deliver_async()
|
||||
|
||||
{:ok, :enqueued}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue