Right now we allow any password in user creation.
|
fn validate_password(_: &str) -> bool { |
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.
hilow/src/domain/services/user.rs
Line 66 in c6655c0
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.