Open morenol opened 3 years ago
Right now we allow any password in user creation.
https://github.com/rust-lang-ve/hilow/blob/c6655c04000fb52169891d9b78e4009eabe6bc9c/src/domain/services/user.rs#L66
We must implement a more safer validation for the password.
We can use a regex or use a configuration to define the number of lowercase letters, uppercase letters, numbers and punctuation symbols that the password must have.
Right now we allow any password in user creation.
https://github.com/rust-lang-ve/hilow/blob/c6655c04000fb52169891d9b78e4009eabe6bc9c/src/domain/services/user.rs#L66
We must implement a more safer validation for the password.
We can use a regex or use a configuration to define the number of lowercase letters, uppercase letters, numbers and punctuation symbols that the password must have.