mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-02 00:38:14 +09: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 New Issue
Block a user