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
1 changed files with 4 additions and 5 deletions

View File

@ -214,6 +214,10 @@
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 @@
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,