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