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:
rinpatch 2019-04-14 17:54:32 +00:00
commit 8c6d5a6b4d

View File

@ -281,6 +281,8 @@ defmodule Pleroma.User do
user user
|> Pleroma.Emails.UserEmail.account_confirmation_email() |> Pleroma.Emails.UserEmail.account_confirmation_email()
|> Pleroma.Emails.Mailer.deliver_async() |> Pleroma.Emails.Mailer.deliver_async()
{:ok, :enqueued}
else else
{:ok, :noop} {:ok, :noop}
end end