Actually send the mail
This commit is contained in:
parent
2a863987bc
commit
95930a7aa5
@ -900,6 +900,7 @@ defmodule Pleroma.User do
|
|||||||
false <- Config.get([:instance, :account_approval_required], false) do
|
false <- Config.get([:instance, :account_approval_required], false) do
|
||||||
user
|
user
|
||||||
|> Pleroma.Emails.UserEmail.successful_registration_email()
|
|> Pleroma.Emails.UserEmail.successful_registration_email()
|
||||||
|
|> Pleroma.Emails.Mailer.deliver_async()
|
||||||
|
|
||||||
{:ok, :enqueued}
|
{:ok, :enqueued}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user