summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-09-16 21:48:01 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-09-16 21:48:01 +0700
commitd6ab78e610f16e97246ec9e83b3db72f04cf41e7 (patch)
treefb1ff83b8fb8c0f6bebc0c90dd40c855e4eac798 /config
parent409e701ab849475c81073d80a973487d67cadaae (diff)
downloadpleroma-d6ab78e610f16e97246ec9e83b3db72f04cf41e7.tar.gz
pleroma-d6ab78e610f16e97246ec9e83b3db72f04cf41e7.zip
Set `account_field_value_length` limit to 2048 by default
Diffstat (limited to 'config')
-rw-r--r--config/config.exs2
-rw-r--r--config/description.exs4
2 files changed, 3 insertions, 3 deletions
diff --git a/config/config.exs b/config/config.exs
index b1b98af93..c7e0cf09f 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -276,7 +276,7 @@ config :pleroma, :instance,
max_account_fields: 10,
max_remote_account_fields: 20,
account_field_name_length: 512,
- account_field_value_length: 512,
+ account_field_value_length: 2048,
external_user_synchronization: true
config :pleroma, :markup,
diff --git a/config/description.exs b/config/description.exs
index be5eb0cc3..32d36d6d6 100644
--- a/config/description.exs
+++ b/config/description.exs
@@ -878,9 +878,9 @@ config :pleroma, :config_description, [
%{
key: :account_field_value_length,
type: :integer,
- description: "An account field value maximum length (default: 512)",
+ description: "An account field value maximum length (default: 2048)",
suggestions: [
- 512
+ 2048
]
},
%{