Skip to content

Commit 243fa1c

Browse files
committed
password-validator.js updated
1 parent ec34846 commit 243fa1c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sprint-3/3-stretch/password-validator.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ function passwordValidator(password) {
33
}
44

55

6-
module.exports = passwordValidator;
6+
module.exports = passwordValidator;
7+
8+
// password.length < 5 → rejects short passwords.
9+
10+
// Returns true only if the password passes all checks.

0 commit comments

Comments
 (0)