projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7304e0c
)
fix pattern match on user registration
author
Sadposter
<hannah+pleroma@coffee-and-dreams.uk>
Sun, 14 Apr 2019 14:46:54 +0000
(15:46 +0100)
committer
Sadposter
<hannah+pleroma@coffee-and-dreams.uk>
Sun, 14 Apr 2019 14:46:54 +0000
(15:46 +0100)
deliver_async will return a single atom
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 4a41a15c77eba6893602518a1f94bbd9fea8cf7b..3ab7bd7423258a80df708b6f63fc4a34522f34c7 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-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