diff options
author | Angelina Filippova <linakirsanova@gmail.com> | 2021-05-19 01:56:22 +0300 |
---|---|---|
committer | Angelina Filippova <linakirsanova@gmail.com> | 2021-05-19 01:56:22 +0300 |
commit | 07ffce03429ff25d681fd24d5732d19a1ccee316 (patch) | |
tree | 94fef6d06a55d4ea681e6ef32c51db69e1a61bd2 | |
parent | 7a91877ee4298c06ce09f127174a643c4040edbd (diff) | |
download | pleroma-07ffce03429ff25d681fd24d5732d19a1ccee316.tar.gz |
Update :auth setting type, add placeholders
-rw-r--r-- | config/description.exs | 3 |
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"}] }, |