From 14ca0ae0b5df22f5431385096c7e77468f9aadec Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 17 Mar 2026 12:22:56 +0100 Subject: [PATCH] fix(auth): align reset-password min length to 8 characters The ResetPasswordDto required 12 characters while registration and change-password only required 8, causing a mismatch with frontend UI. Co-Authored-By: Claude Opus 4.6 (1M context) --- services/mana-core-auth/src/auth/dto/reset-password.dto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/mana-core-auth/src/auth/dto/reset-password.dto.ts b/services/mana-core-auth/src/auth/dto/reset-password.dto.ts index fa4d2367b..cf6d0ad1f 100644 --- a/services/mana-core-auth/src/auth/dto/reset-password.dto.ts +++ b/services/mana-core-auth/src/auth/dto/reset-password.dto.ts @@ -16,7 +16,7 @@ export class ResetPasswordDto { * New password (must meet password requirements) */ @IsString() - @MinLength(12, { message: 'Password must be at least 12 characters long' }) + @MinLength(8, { message: 'Password must be at least 8 characters long' }) @MaxLength(128, { message: 'Password must be at most 128 characters long' }) newPassword: string; }