diff --git a/packages/core/admin/server/src/validation/common-validators.ts b/packages/core/admin/server/src/validation/common-validators.ts index a59cfc6f9c..505d48ab41 100644 --- a/packages/core/admin/server/src/validation/common-validators.ts +++ b/packages/core/admin/server/src/validation/common-validators.ts @@ -23,7 +23,7 @@ export const username = yup.string().min(1); export const password = yup .string() .min(8) - .test('required-byte-size', 'Password must be less than 73 bytes', (value) => { + .test('required-byte-size', '${path} must be less than 73 bytes', (value) => { if (!value) return true; const byteSize = new TextEncoder().encode(value).length; return byteSize <= 72;