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:
@@ -3,3 +3,7 @@ import { Patterns } from '@/common'
|
||||
export function complexity(password: string) {
|
||||
return Patterns.Password.test(password)
|
||||
}
|
||||
|
||||
export function complexityUser(username: string) {
|
||||
return Patterns.Username.test(username)
|
||||
}
|
||||
|
||||
@@ -2,6 +2,6 @@ export { duplicate } from './duplicate'
|
||||
export { registereduser } from './registereduser'
|
||||
export { aportadorexist } from './aportadorexist'
|
||||
export { registeredemail } from './registeredemail'
|
||||
export { complexity } from './complexity'
|
||||
export { complexity, complexityUser } from './complexity'
|
||||
export { alfanum } from './alfanum'
|
||||
export { email } from './email'
|
||||
|
||||
Reference in New Issue
Block a user