fix: Increase max username length

Closes #1441
This commit is contained in:
Maksim Eltyshev
2025-11-25 15:03:35 +01:00
parent 8a288d1816
commit c646f0f5b3
7 changed files with 10 additions and 10 deletions

View File

@@ -50,7 +50,7 @@
* username:
* type: string
* minLength: 3
* maxLength: 32
* maxLength: 64
* pattern: "^[a-z0-9._-]*$"
* nullable: true
* description: Unique username for user identification
@@ -304,7 +304,7 @@ module.exports = {
type: 'string',
isNotEmptyString: true,
minLength: 3,
maxLength: 32,
maxLength: 64,
regex: /^[a-z0-9._-]*$/,
allowNull: true,
},