Move Enabled to top as it's the master control of all email. Description not really...
authorMark Felder <feld@feld.me>
Sat, 6 Feb 2021 18:34:32 +0000 (12:34 -0600)
committerMark Felder <feld@feld.me>
Sat, 6 Feb 2021 18:34:32 +0000 (12:34 -0600)
config/description.exs

index 54b5fd5d60e9bea2e1f6f2998dece5fbc00c98f7..8d3312caaa580136518c1d46e2b37260bcf60754 100644 (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,