mirror of
https://github.com/wassname/talk.git
synced 2026-08-08 11:28:12 +08:00
Inital rename of displayName -> username
This commit is contained in:
@@ -59,12 +59,12 @@ const ErrDisplayTaken = new APIError('Display name already in use', {
|
||||
status: 400
|
||||
});
|
||||
|
||||
const ErrSpecialChars = new APIError('No special characters are allowed in a display name', {
|
||||
const ErrSpecialChars = new APIError('No special characters are allowed in a username', {
|
||||
translation_key: 'NO_SPECIAL_CHARACTERS',
|
||||
status: 400
|
||||
});
|
||||
|
||||
const ErrMissingDisplay = new APIError('A display name is required to create a user', {
|
||||
const ErrMissingDisplay = new APIError('A username is required to create a user', {
|
||||
translation_key: 'DISPLAY_NAME_REQUIRED',
|
||||
status: 400
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user