aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-08-08 13:20:35 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-08-14 14:58:38 +0700
commita2e1db56323d0f306ee42a1f58471eb55c8c1e68 (patch)
treeee5cce9ccbde421c4141fee2e6a7070ca19081cd
parent672fcbc7b716f18346a17845d05c286b45dca5f3 (diff)
downloadpleroma-a2e1db56323d0f306ee42a1f58471eb55c8c1e68.tar.gz
Increase max account fields limits
-rw-r--r--config/config.exs4
-rw-r--r--docs/config.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/config/config.exs b/config/config.exs
index 3937f7e70..7279b43b7 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -255,8 +255,8 @@ config :pleroma, :instance,
dynamic_configuration: false,
user_bio_length: 5000,
user_name_length: 100,
- max_account_fields: 4,
- max_remote_account_fields: 10,
+ max_account_fields: 10,
+ max_remote_account_fields: 20,
account_field_name_length: 255,
account_field_value_length: 255,
external_user_synchronization: true
diff --git a/docs/config.md b/docs/config.md
index b4bdbd078..7e4e96db0 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -132,8 +132,8 @@ config :pleroma, Pleroma.Emails.Mailer,
* `skip_thread_containment`: Skip filter out broken threads. The default is `false`.
* `limit_to_local_content`: Limit unauthenticated users to search for local statutes and users only. Possible values: `:unauthenticated`, `:all` and `false`. The default is `:unauthenticated`.
* `dynamic_configuration`: Allow transferring configuration to DB with the subsequent customization from Admin api.
-* `max_account_fields`: The maximum number of custom fields in the user profile (default: `4`)
-* `max_remote_account_fields`: The maximum number of custom fields in the remote user profile (default: `10`)
+* `max_account_fields`: The maximum number of custom fields in the user profile (default: `10`)
+* `max_remote_account_fields`: The maximum number of custom fields in the remote user profile (default: `20`)
* `account_field_name_length`: An account field name maximum length (default: `255`)
* `account_field_value_length`: An account field value maximum length (default: `255`)
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.