Feature/896 toggling confirmation
This commit is contained in:
parent
a2771869a3
commit
73ae58fdfa
6 changed files with 80 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue