Skip to content

Commit 1f11ac4

Browse files
committed
Fix Feedback now detects cs_passwords dictionary as passwords
1 parent 07eb5fa commit 1f11ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/feedback.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ feedback =
7979
]
8080

8181
get_dictionary_match_feedback: (match, is_sole_match) ->
82-
warning = if match.dictionary_name == 'passwords'
82+
warning = if -1 != match.dictionary_name.indexOf 'passwords'
8383
if is_sole_match and not match.l33t and not match.reversed
8484
if match.rank <= 10
8585
'This is a top-10 common password'

0 commit comments

Comments
 (0)