diff options
author | rinpatch <rinpatch@sdf.org> | 2019-05-21 09:13:10 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-05-21 09:13:10 +0300 |
commit | 76a7429befb2e9a819b653ff8328cc42a565c29d (patch) | |
tree | 3b85648df8c7a240453bdb4d3f8917f08b3d8bfc /docs/config.md | |
parent | 6430cb1bf78e7949cc023a30df7a8d1547c36524 (diff) | |
download | pleroma-76a7429befb2e9a819b653ff8328cc42a565c29d.tar.gz |
Add poll limits to /api/v1/instance and initial state
Diffstat (limited to 'docs/config.md')
-rw-r--r-- | docs/config.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md index 450d73fda..f9903332c 100644 --- a/docs/config.md +++ b/docs/config.md @@ -71,6 +71,11 @@ config :pleroma, Pleroma.Emails.Mailer, * `avatar_upload_limit`: File size limit of user’s profile avatars * `background_upload_limit`: File size limit of user’s profile backgrounds * `banner_upload_limit`: File size limit of user’s profile banners +* `poll_limits`: A map with poll limits for **local** polls + * `max_options`: Maximum number of options + * `max_option_chars`: Maximum number of characters per option + * `min_expiration`: Minimum expiration time (in seconds) + * `max_expiration`: Maximum expiration time (in seconds) * `registrations_open`: Enable registrations for anyone, invitations can be enabled when false. * `invites_enabled`: Enable user invitations for admins (depends on `registrations_open: false`). * `account_activation_required`: Require users to confirm their emails before signing in. |