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 --- example/config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'example') diff --git a/example/config.yaml b/example/config.yaml index 7f119ab16..c0b850ad9 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -433,6 +433,13 @@ accounts-reason-required: true # 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 + ######################## ##### MEDIA CONFIG ##### ######################## -- cgit v1.2.3