mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
models: Set UserProfile.MIN_NAME_LENGTH to two.
Chinese names are often two characters.
This commit is contained in:
@@ -527,7 +527,7 @@ class UserProfile(AbstractBaseUser, PermissionsMixin):
|
||||
|
||||
USERNAME_FIELD = 'email'
|
||||
MAX_NAME_LENGTH = 100
|
||||
MIN_NAME_LENGTH = 3
|
||||
MIN_NAME_LENGTH = 2
|
||||
API_KEY_LENGTH = 32
|
||||
NAME_INVALID_CHARS = ['*', '`', '>', '"', '@']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user