From fc524f8cf16761f949303a96bca14e63c46ceda8 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 25 May 2023 15:18:15 +0200 Subject: [feature] Configurable custom css length (#1827) * [feature] Make accounts custom css length configurable * test custom css validation --- docs/configuration/accounts.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/configuration') diff --git a/docs/configuration/accounts.md b/docs/configuration/accounts.md index 3f0c6d5f8..0f4fecde0 100644 --- a/docs/configuration/accounts.md +++ b/docs/configuration/accounts.md @@ -39,4 +39,11 @@ accounts-reason-required: true # Options: [true, false] # Default: false accounts-allow-custom-css: false + +# Int. If accounts-allow-custom-css is true, this is the permitted length in characters for +# CSS uploaded by accounts on this instance. No effect if accounts-allow-custom-css is false. +# +# Examples: [500, 5000, 9999] +# Default: 10000 +accounts-custom-css-length: 10000 ``` -- cgit v1.2.3