summaryrefslogtreecommitdiff
path: root/config/description.exs
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-05-06 05:55:39 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-05-06 05:55:39 +0300
commitfb38b7339ccb6c3d7a3a07b74a6471a0f38622fe (patch)
treea6dc7761d53a37be6a1c46af1c3cbc8873ce50d8 /config/description.exs
parentfe7a0d660e357a03558be3a95ddbb8b409ef9a9e (diff)
parent7612d9403dbaa6741b28dcf427ecad8fd0f70c30 (diff)
downloadpleroma-fb38b7339ccb6c3d7a3a07b74a6471a0f38622fe.tar.gz
pleroma-fb38b7339ccb6c3d7a3a07b74a6471a0f38622fe.zip
Merge branch 'develop' into issue/1276-2
Diffstat (limited to 'config/description.exs')
-rw-r--r--config/description.exs15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs
index 9d8e3b93c..1b2afebef 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -2247,6 +2247,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :active,
+ label: "Enabled",
type: :boolean,
description: "Globally enable or disable digest emails"
},
@@ -3194,5 +3195,19 @@ config :pleroma, :config_description, [
]
}
]
+ },
+ %{
+ group: :pleroma,
+ key: Pleroma.Web.ApiSpec.CastAndValidate,
+ type: :group,
+ children: [
+ %{
+ key: :strict,
+ type: :boolean,
+ description:
+ "Enables strict input validation (useful in development, not recommended in production)",
+ suggestions: [false]
+ }
+ ]
}
]