mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:01:09 +02:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
7f5c70c7cd
commit
14ca0ae0b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue