Actually send the mail

This commit is contained in:
Mark Felder 2021-02-04 17:42:09 -06:00
parent 2a863987bc
commit 95930a7aa5

View file

@ -900,6 +900,7 @@ defmodule Pleroma.User do
false <- Config.get([:instance, :account_approval_required], false) do
user
|> Pleroma.Emails.UserEmail.successful_registration_email()
|> Pleroma.Emails.Mailer.deliver_async()
{:ok, :enqueued}
else