fix pattern match on user registration
deliver_async will return a single atom
This commit is contained in:
parent
7304e0ce18
commit
ec42b639a3
@ -270,7 +270,7 @@ defmodule Pleroma.User do
|
||||
with {:ok, user} <- Repo.insert(changeset),
|
||||
{:ok, user} <- autofollow_users(user),
|
||||
{:ok, _} <- Pleroma.User.WelcomeMessage.post_welcome_message_to_user(user),
|
||||
{:ok, _} <- try_send_confirmation_email(user) do
|
||||
:ok <- try_send_confirmation_email(user) do
|
||||
{:ok, user}
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user