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

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