Feature/896 toggling confirmation

This commit is contained in:
Alexander Strizhakov 2019-05-16 13:23:41 +00:00 committed by rinpatch
commit 73ae58fdfa
6 changed files with 80 additions and 2 deletions

View file

@ -212,7 +212,7 @@ defmodule Pleroma.User.Info do
])
end
@spec confirmation_changeset(Info.t(), keyword()) :: Ecto.Changerset.t()
@spec confirmation_changeset(Info.t(), keyword()) :: Changeset.t()
def confirmation_changeset(info, opts) do
need_confirmation? = Keyword.get(opts, :need_confirmation)