summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormarcin mikołajczak <me@mkljczk.pl>2021-12-26 02:35:17 +0000
committerAlex Gleason <alex@alexgleason.me>2021-12-26 02:35:17 +0000
commitde006443f0bc8cfb3ad28b29b2d8ea9581e760b6 (patch)
treef26e66d8a2c7baeb67803245c1eaa9fa0f9f9790 /config
parent73609211a425922a5068d3912a36b82abe24e12c (diff)
MastoAPI: Profile directory
Diffstat (limited to 'config')
-rw-r--r--config/config.exs3
-rw-r--r--config/description.exs5
2 files changed, 7 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index c9592511f..23c41eddd 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -254,7 +254,8 @@ config :pleroma, :instance,
]
],
show_reactions: true,
- password_reset_token_validity: 60 * 60 * 24
+ password_reset_token_validity: 60 * 60 * 24,
+ profile_directory: true
config :pleroma, :welcome,
direct_message: [
diff --git a/config/description.exs b/config/description.exs
index 1c8c3b4a0..517077acf 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -936,6 +936,11 @@ config :pleroma, :config_description, [
key: :show_reactions,
type: :boolean,
description: "Let favourites and emoji reactions be viewed through the API."
+ },
+ %{
+ key: :profile_directory,
+ type: :boolean,
+ description: "Enable profile directory."
}
]
},