Skip to content

Commit

Permalink
Fix password validation regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkondr committed Jan 28, 2025
1 parent 9f22859 commit 1f49859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/accounts/cli/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

const (
usernameCriteria = "Username may contain only letters, numbers, underscores, and must be at least 3 characters long"
passwordCriteria = "Password may contain only letters, numbers and specific special characters (@#$%^&+=!_), and must be at least 6 characters long"
passwordCriteria = "Password may contain only letters, numbers and specific special characters (@*#$%^&+=!_-), and must be at least 6 characters long"
)

var (
Expand Down

0 comments on commit 1f49859

Please sign in to comment.