Skip to content

Commit

Permalink
Merge pull request #166 from kSantiagoP/main
Browse files Browse the repository at this point in the history
BUG-165
  • Loading branch information
wouerner authored Sep 3, 2024
2 parents 5638fc1 + 4b3798c commit 08b5884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/user/dtos/create-user.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class CreateUserDto {
@IsNotEmpty()
@IsString()
@Matches(
/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()\-_=+{};:,<.>])[a-zA-Z\d!@#$%^&*()\-_=+{};:,<.>.]{8,}$/,
/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*\W)[a-zA-Z\d\W]{8,}$/,
{
message:
'Senha inválida. Deve conter pelo menos 8 caracteres, uma letra maiúscula, uma letra minúscula, um número e um caractere especial.',
Expand Down

0 comments on commit 08b5884

Please sign in to comment.