forked from AkkomaGang/akkoma
Merge branch 'bugfix/registration-email-pattern' into 'develop'
fix pattern match on user registration See merge request pleroma/pleroma!1058
This commit is contained in:
commit
8c6d5a6b4d
1 changed files with 2 additions and 0 deletions
|
@ -281,6 +281,8 @@ def try_send_confirmation_email(%User{} = user) do
|
|||
user
|
||||
|> Pleroma.Emails.UserEmail.account_confirmation_email()
|
||||
|> Pleroma.Emails.Mailer.deliver_async()
|
||||
|
||||
{:ok, :enqueued}
|
||||
else
|
||||
{:ok, :noop}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue