Changing default/max values for username_min/max_length

- Restoring legacy default values (3 and 48 respectively)
- Lowering the max value to 150 to take the full profile URL length into
account
This commit is contained in:
Hypolite Petovan 2018-10-21 15:10:51 -04:00
parent b08408c086
commit c1bca43fee
2 changed files with 4 additions and 4 deletions

View file

@ -367,13 +367,13 @@ urlpath =
; username_min_length (Integer)
; The minimum character length a username can be.
; This length is check once the username has been trimmed and multiple spaces have been collapsed into one.
; Minimum for this config value is 1. Maximum is 255;
; Minimum for this config value is 1. Maximum is 150 as the resulting profile URL shouldn't be longer than 255 chars.
username_min_length = 3
; username_max_length (Integer)
; The maximum character length a username can be.
; This length is check once the username has been trimmed and multiple spaces have been collapsed into one.
; Minimum for this config value is 1. Maximum is 255;
; Minimum for this config value is 1. Maximum is 150 as the resulting profile URL shouldn't be longer than 255 chars.
username_max_length = 48
; worker_cooldown (Integer)