Move Enabled to top as it's the master control of all email. Description not really needed.

This commit is contained in:
Mark Felder 2021-02-06 12:34:32 -06:00
parent bd828e5c9c
commit 0fcf16dcb8

View File

@ -215,6 +215,10 @@ config :pleroma, :config_description, [
description: "Mailer-related settings", description: "Mailer-related settings",
children: [ children: [
%{ %{
key: :enabled,
type: :boolean,
},
%{
key: :adapter, key: :adapter,
type: :module, type: :module,
description: description:
@ -235,11 +239,6 @@ config :pleroma, :config_description, [
] ]
}, },
%{ %{
key: :enabled,
type: :boolean,
description: "Pleroma Email sending capability"
},
%{
group: {:subgroup, Swoosh.Adapters.SMTP}, group: {:subgroup, Swoosh.Adapters.SMTP},
key: :relay, key: :relay,
type: :string, type: :string,