Revert "UserProfile: Disallow markdown character in the user profile name."

This reverts commit d30fb5a341.
This commit is contained in:
Greg Price 2017-12-19 16:06:19 -08:00
parent 0b3a414be1
commit 44a0cd77cb
1 changed files with 1 additions and 1 deletions

View File

@ -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