mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Merge branch 'update-fields-limit' into 'develop'
Set `account_field_value_length` limit to 2048 by default Closes #1249 See merge request pleroma/pleroma!1678
This commit is contained in:
commit
a58f29b826
3 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
]
|
||||
},
|
||||
%{
|
||||
|
|
|
@ -135,7 +135,7 @@ config :pleroma, Pleroma.Emails.Mailer,
|
|||
* `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: `512`)
|
||||
* `account_field_value_length`: An account field value maximum length (default: `512`)
|
||||
* `account_field_value_length`: An account field value maximum length (default: `2048`)
|
||||
* `external_user_synchronization`: Enabling following/followers counters synchronization for external users.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue