Skip to content

Commit

Permalink
pre-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlux58 committed Jan 13, 2024
1 parent 3aaf5b2 commit b552d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API/DTOs/RegisterDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class RegisterDto
[EmailAddress]
public string Email { get; set; }
[Required]
[RegularExpression("(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9]).{8,}$", ErrorMessage = "Password must be complex")]
[RegularExpression("(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9]).{4,}$", ErrorMessage = "Password must be complex")]
public string Password { get; set; }

[Required]
Expand Down

0 comments on commit b552d14

Please sign in to comment.