♻️ Update password max length (#1447)

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
This commit is contained in:
Mike Alvarino
2025-10-23 16:57:57 -04:00
committed by GitHub
parent fd74a4de94
commit c612641e92
2 changed files with 12 additions and 12 deletions

View File

@@ -202,7 +202,7 @@ export const NewPasswordSchema = {
},
new_password: {
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8,
title: 'New Password'
}
@@ -258,13 +258,13 @@ export const UpdatePasswordSchema = {
properties: {
current_password: {
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8,
title: 'Current Password'
},
new_password: {
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8,
title: 'New Password'
}
@@ -306,7 +306,7 @@ export const UserCreateSchema = {
},
password: {
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8,
title: 'Password'
}
@@ -367,7 +367,7 @@ export const UserRegisterSchema = {
},
password: {
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8,
title: 'Password'
},
@@ -430,7 +430,7 @@ export const UserUpdateSchema = {
anyOf: [
{
type: 'string',
maxLength: 40,
maxLength: 128,
minLength: 8
},
{