mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
added the dot (.) username rules (#787)
This commit is contained in:
parent
91d32fa4f6
commit
1aa4b34dc6
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ const registerSchema = Joi.object().keys({
|
|||
.trim()
|
||||
.min(2)
|
||||
.max(20)
|
||||
.regex(/^[a-zA-Z0-9_-]+$/)
|
||||
.regex(/^[a-zA-Z0-9_.-]+$/)
|
||||
.required(),
|
||||
email: Joi.string().trim().email().required(),
|
||||
password: Joi.string().trim().min(8).max(128).required(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue