mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-22 17:27:18 +00:00
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
|
||||
user
|
||||
|> Pleroma.Emails.UserEmail.successful_registration_email()
|
||||
|> Pleroma.Emails.Mailer.deliver_async()
|
||||
|
||||
{:ok, :enqueued}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue