summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-25 15:18:15 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-25 15:18:15 +0200
commitfc524f8cf16761f949303a96bca14e63c46ceda8 (patch)
tree7c73a836c4d0d89e3dbc672269ceabad082547e6 /internal/config/defaults.go
parent[bugfix] allow usernames of length 1 (#1823) (diff)
downloadgotosocial-fc524f8cf16761f949303a96bca14e63c46ceda8.tar.xz
[feature] Configurable custom css length (#1827)
* [feature] Make accounts custom css length configurable * test custom css validation
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 53d994cda..c11f436d6 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -65,6 +65,7 @@ var Defaults = Configuration{
AccountsApprovalRequired: true,
AccountsReasonRequired: true,
AccountsAllowCustomCSS: false,
+ AccountsCustomCSSLength: 10000,
MediaImageMaxSize: 10 * bytesize.MiB,
MediaVideoMaxSize: 40 * bytesize.MiB,