mirror of https://github.com/zulip/zulip.git
Revert "UserProfile: Disallow markdown character in the user profile name."
This reverts commit d30fb5a341
.
This commit is contained in:
parent
0b3a414be1
commit
44a0cd77cb
|
@ -531,7 +531,7 @@ class UserProfile(AbstractBaseUser, PermissionsMixin):
|
||||||
MAX_NAME_LENGTH = 100
|
MAX_NAME_LENGTH = 100
|
||||||
MIN_NAME_LENGTH = 2
|
MIN_NAME_LENGTH = 2
|
||||||
API_KEY_LENGTH = 32
|
API_KEY_LENGTH = 32
|
||||||
NAME_INVALID_CHARS = ['*', '`', '>', '"', '@', '#']
|
NAME_INVALID_CHARS = ['*', '`', '>', '"', '@']
|
||||||
|
|
||||||
# Our custom site-specific fields
|
# Our custom site-specific fields
|
||||||
full_name = models.CharField(max_length=MAX_NAME_LENGTH) # type: Text
|
full_name = models.CharField(max_length=MAX_NAME_LENGTH) # type: Text
|
||||||
|
|
Loading…
Reference in New Issue