Registration tests

This commit is contained in:
Alex Gleason 2020-10-11 21:38:01 -05:00
commit 521e965884
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
3 changed files with 23 additions and 5 deletions

View file

@ -34,8 +34,8 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
{:ok, _} <-
user
|> User.confirmation_changeset(need_confirmation: false)
|> User.update_and_set_cache()
|> User.post_register_action() do
|> User.update_and_set_cache() do
User.post_register_action(user)
redirect(conn, to: "/")
end
end