From 07ffce03429ff25d681fd24d5732d19a1ccee316 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 19 May 2021 01:56:22 +0300 Subject: [PATCH] Update :auth setting type, add placeholders --- config/description.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"}] },