mirror of
https://github.com/misskey-dev/misskey
synced 2024-07-01 14:49:05 +02:00
✌️
This commit is contained in:
parent
f59209aaa3
commit
34186cf45f
|
@ -114,7 +114,7 @@ export function validatePassword(password: string): boolean {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isValidName(name?: string): boolean {
|
export function isValidName(name?: string): boolean {
|
||||||
return name === null || (typeof name == 'string' && name.length < 30 && name.trim() != '');
|
return name === null || (typeof name == 'string' && name.length < 50 && name.trim() != '');
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isValidDescription(description: string): boolean {
|
export function isValidDescription(description: string): boolean {
|
||||||
|
|
Loading…
Reference in a new issue