minimo 6 caratteri la registrazione username

Ridurre a 3 gli stati ContribTypes (
aggiornato il regex dell'username in fase di registrazione: caratteri speciali consentiti solo all'interno di una parola
This commit is contained in:
paoloar77
2022-02-15 12:45:53 +01:00
parent e7f65ceb16
commit 10f10d874b
18 changed files with 39 additions and 16 deletions

View File

@@ -4315,6 +4315,11 @@ export const tools = {
return t('reg.err.complexity')
}
}
if (item.complexityUser !== undefined) {
if (item.complexityUser.$invalid) {
return t('reg.err.complexityUser')
}
}
// if (!item.maxLength) { return t('reg.err.notmore') + ` ${item.$params.maxLength.max} ` + t('reg.err.char') }
if (item.required !== undefined) {