From 8c9a8533434ec6e159541896d5f43e39303d42e4 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 23 Jun 2021 16:35:57 +0200 Subject: Instance settings updates (#59) Allow admins to set instance settings through a PATCH to /api/v1/instance Update templates to reflect some of the new fields --- internal/util/regexes.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal/util/regexes.go') diff --git a/internal/util/regexes.go b/internal/util/regexes.go index 586eb30df..6ad7b7404 100644 --- a/internal/util/regexes.go +++ b/internal/util/regexes.go @@ -24,12 +24,7 @@ import ( ) const ( - minimumPasswordEntropy = 60 // dictates password strength. See https://github.com/wagslane/go-password-validator - minimumReasonLength = 40 - maximumReasonLength = 500 - maximumEmailLength = 256 maximumUsernameLength = 64 - maximumPasswordLength = 64 maximumEmojiShortcodeLength = 30 maximumHashtagLength = 30 ) -- cgit v1.2.3