aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-05 19:05:20 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-02-06 12:50:37 +0300
commitbdf0a87be95f311b094273d67244914173ee9dac (patch)
treecb82496bc27100babe084898b9d5702a3d82a9c6
parentc85aa6e87f8887ad532580ec3f84811abace05f2 (diff)
downloadpleroma-bdf0a87be95f311b094273d67244914173ee9dac.tar.gz
dropdown type
-rw-r--r--config/description.exs10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/description.exs b/config/description.exs
index a4d1a74a7..0ac1f4d8d 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -871,7 +871,7 @@ config :pleroma, :config_description, [
},
%{
key: :limit_to_local_content,
- type: [:atom, false],
+ type: {:dropdown, :atom},
description:
"Limit unauthenticated users to search for local statutes and users only. Default: `:unauthenticated`.",
suggestions: [
@@ -942,7 +942,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: :atom,
+ type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -974,7 +974,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: :atom,
+ type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -998,7 +998,7 @@ config :pleroma, :config_description, [
children: [
%{
key: :level,
- type: :atom,
+ type: {:dropdown, :atom},
description: "Log level",
suggestions: [:debug, :info, :warn, :error]
},
@@ -1969,7 +1969,7 @@ config :pleroma, :config_description, [
},
%{
key: :verbose,
- type: [:atom, false],
+ type: {:dropdown, :atom},
description: "Logs verbose mode",
suggestions: [false, :error, :warn, :info, :debug]
},