Disallow spaces in usernames

This commit is contained in:
flash 2018-08-17 01:42:32 +02:00
parent d08a031bb2
commit 160856607d

View file

@ -8,7 +8,7 @@ define('MSZ_USERNAME_MIN_LENGTH', 3);
define('MSZ_USERNAME_MAX_LENGTH', 16);
// Username character constraint.
define('MSZ_USERNAME_REGEX', '#^[A-Za-z0-9-_ ]+$#u');
define('MSZ_USERNAME_REGEX', '#^[A-Za-z0-9-_]+$#u');
// Minimum entropy value for passwords.
define('MSZ_PASSWORD_MIN_ENTROPY', 32);