Handle User.post_register_action/1 in steps
This commit is contained in:
parent
bc3cf0fee0
commit
b2fed59209
2 changed files with 30 additions and 3 deletions
|
|
@ -34,7 +34,8 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
{:ok, _} <-
|
||||
user
|
||||
|> User.confirmation_changeset(need_confirmation: false)
|
||||
|> User.update_and_set_cache() do
|
||||
|> User.update_and_set_cache()
|
||||
|> User.post_register_action() do
|
||||
redirect(conn, to: "/")
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue