Update :auth setting type, add placeholders

This commit is contained in:
Angelina Filippova 2021-05-19 01:56:22 +03:00
parent 7a91877ee4
commit 07ffce0342

View File

@ -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"}]
},