ghostbar / angular-zxcvbn

Simple zxcvbn directive for Angular.js
MIT License
55 stars 10 forks source link

zx-extras working? #21

Open mwickens opened 8 years ago

mwickens commented 8 years ago

The zx-extras attribute doesn't work for me. I've tried using both the name of an array variable and a form name. In both cases, passwords that are exactly the same as words that appear in the array or form show no difference in strength score than when leaving out the attribute. Can someone confirm this is working for them. Maybe I'm doing something wrong. I'm using the latest zxcvbn.js (from Sept 2016).

Ponjimon commented 8 years ago

+1

joaoap commented 7 years ago

This happens to me too. I dug it a bit, and I found that the directive is not recognizing the form Line 91 - angular-zxcvbn.js

else if (scope.isForm(extras)) {