Merge branch 'main' into feature/internationalization-support

This commit is contained in:
Mohamad Tarbin
2026-03-10 23:10:48 -04:00
committed by GitHub
26 changed files with 1171 additions and 270 deletions

View File

@@ -40,9 +40,9 @@ function CreateChildUserModal({ isOpen, onClose, onSuccess }) {
if (!password) {
newErrors.password = 'Password is required'
} else if (password.length < 8) {
newErrors.password = 'Password must be at least 8 characters'
} else if (password.length > 45) {
newErrors.password = 'Password must be less than 45 characters'
newErrors.password = 'Password must be between 8 and 64 characters'
} else if (password.length > 64) {
newErrors.password = 'Password must be between 8 and 64 characters'
}
}
@@ -165,7 +165,7 @@ function CreateChildUserModal({ isOpen, onClose, onSuccess }) {
name='password'
type='password'
id='password'
placeholder='Enter password (8-45 characters)'
placeholder='Enter password (8-64 characters)'
value={password}
onChange={e => {
setPassword(e.target.value)

View File

@@ -25,8 +25,8 @@ function PassowrdChangeModal({ isOpen, onClose }) {
setPasswordError('Passwords do not match')
} else if (password.length < 8) {
setPasswordError('Password must be at least 8 characters')
} else if (password.length > 50) {
setPasswordError('Password must be less than 50 characters')
} else if (password.length > 64) {
setPasswordError('Password must be less than 64 characters')
} else {
setPasswordError(null)
}
@@ -63,6 +63,7 @@ function PassowrdChangeModal({ isOpen, onClose }) {
label='Password'
type='password'
id='password'
placeholder='Enter password (8-64 characters)'
value={password}
onChange={e => {
setPasswordTouched(true)