mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
✌️
This commit is contained in:
parent
06179301bc
commit
cb532a508b
1 changed files with 1 additions and 1 deletions
|
@ -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