forked from AkkomaGang/akkoma
[#114] Removed confirm_email
action stub (to be addressed in a separate MR).
This commit is contained in:
parent
07e93f9940
commit
66380b0641
1 changed files with 0 additions and 2 deletions
|
@ -333,8 +333,6 @@ def password_reset(conn, params) do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def confirm_email(_conn, _params), do: :noop
|
|
||||||
|
|
||||||
def update_avatar(%{assigns: %{user: user}} = conn, params) do
|
def update_avatar(%{assigns: %{user: user}} = conn, params) do
|
||||||
{:ok, object} = ActivityPub.upload(params, type: :avatar)
|
{:ok, object} = ActivityPub.upload(params, type: :avatar)
|
||||||
change = Changeset.change(user, %{avatar: object.data})
|
change = Changeset.change(user, %{avatar: object.data})
|
||||||
|
|
Loading…
Reference in a new issue