Relax account display name length limit (#39458)

This commit is contained in:
Matt Jankowski
2026-06-17 04:17:10 -04:00
committed by GitHub
parent 97db9fb1a5
commit 412ab6fac9

View File

@@ -76,7 +76,7 @@ class Account < ApplicationRecord
URL_PREFIX_RE = %r{\Ahttp(s?)://[^/]+}
USERNAME_ONLY_RE = /\A#{USERNAME_RE}\z/i
USERNAME_LENGTH_LIMIT = 30
DISPLAY_NAME_LENGTH_LIMIT = 30
DISPLAY_NAME_LENGTH_LIMIT = 40
NOTE_LENGTH_LIMIT = 500
# Hard limits for federated content