From: Hypolite Petovan Date: Sat, 20 Oct 2018 20:32:59 +0000 (-0400) Subject: Add system.username_min_length and system.username_max_length config keys X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ed5c42cdd8c74fbc48f7c91aaaaa78ae280ff43;p=friendica.git Add system.username_min_length and system.username_max_length config keys --- diff --git a/config/config.ini.php b/config/config.ini.php index ea3df52cbd..05a8738e9d 100644 --- a/config/config.ini.php +++ b/config/config.ini.php @@ -364,6 +364,18 @@ throttle_limit_month = 0 ; For instance if your URL is 'http://example.com/directory/subdirectory', set urlpath to 'directory/subdirectory'. 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; +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; +username_max_length = 48 + ; worker_cooldown (Integer) ; Cooldown period in seconds after each worker function call. worker_cooldown = 0