Handle User.post_register_action/1 in steps

This commit is contained in:
Alex Gleason 2020-10-11 18:52:35 -05:00
commit b2fed59209
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 30 additions and 3 deletions

View file

@ -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