mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 01:35:28 +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
|
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 a new issue