userInputs not taken into account when password is complex enough ? #71
-
Hi @MrWook const options = {
translations: zxcvbnts['language-fr'].translations,
graphs: zxcvbnts['language-common'].adjacencyGraphs,
dictionary: {,
...zxcvbnts['language-common'].dictionary,
...zxcvbnts['language-en'].dictionary,
...zxcvbnts['language-fr'].dictionary,
userInputs: ['[email protected]']
},
}
zxcvbnts.core.ZxcvbnOptions.setOptions(options) calling with this password: zxcvbnts.core.zxcvbn("[email protected]") and getting a result with a score of 0 and the correct suggestion. Now I test this password zxcvbnts.core.zxcvbn("[email protected]") and I get a result with a score of 4 and no suggestions, even though there's the user email address inside the password. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey, yes this is the normal behavior. |
Beta Was this translation helpful? Give feedback.
Hey, yes this is the normal behavior.
You will only get warnings/suggestion if the scoring is less or equal 2