aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelina Filippova <linakirsanova@gmail.com>2021-05-19 01:56:22 +0300
committerAngelina Filippova <linakirsanova@gmail.com>2021-05-19 01:56:22 +0300
commit07ffce03429ff25d681fd24d5732d19a1ccee316 (patch)
tree94fef6d06a55d4ea681e6ef32c51db69e1a61bd2
parent7a91877ee4298c06ce09f127174a643c4040edbd (diff)
downloadpleroma-07ffce03429ff25d681fd24d5732d19a1ccee316.tar.gz
Update :auth setting type, add placeholders
-rw-r--r--config/description.exs3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/description.exs b/config/description.exs
index 1708d8032..0ac447cc8 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -3325,7 +3325,8 @@ config :pleroma, :config_description, [
},
%{
key: :auth,
- type: [:tuple, :boolean],
+ type: [:tuple_of_three, :boolean],
+ placeholders: [":basic", "username", "password"],
description: "Enables HTTP Basic Auth for app metrics endpoint.",
suggestion: [false, {:basic, "myusername", "mypassword"}]
},