Initial commit

This commit is contained in:
payacom
2026-07-07 13:52:30 +03:30
parent 2c6d8a4434
commit 29d5830d54
511 changed files with 6 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
/** حروف انگلیسی، اعداد و . _ - — بدون فارسی و کاراکترهای غیرمعمول */
const USERNAME_REGEX = /^[a-zA-Z0-9][a-zA-Z0-9._-]{7,99}$/
const USERNAME_REGEX = /^[a-zA-Z0-9][a-zA-Z0-9._-]{5,99}$/
const USERNAME_MIN_LENGTH = 8
const USERNAME_MIN_LENGTH = 6
const USERNAME_MAX_LENGTH = 100
const validateUsername = (user_name) => {