Update settings types that require confirmation when updated

This commit is contained in:
Angelina Filippova 2021-07-12 01:34:31 +03:00
parent 9d56f2717c
commit 73d552d5eb

View File

@ -599,13 +599,13 @@ config :pleroma, :config_description, [
}, },
%{ %{
key: :registrations_open, key: :registrations_open,
type: :boolean, type: {:boolean, :confirmationRequired},
description: description:
"Enable registrations for anyone. Invitations require this setting to be disabled." "Enable registrations for anyone. Invitations require this setting to be disabled."
}, },
%{ %{
key: :invites_enabled, key: :invites_enabled,
type: :boolean, type: {:boolean, :confirmationRequired},
description: description:
"Enable user invitations for admins (depends on `registrations_open` being disabled)" "Enable user invitations for admins (depends on `registrations_open` being disabled)"
}, },