Comments (4)
Same problem (but easy fix possible)
Change:
self.inBanlist = function(str) {
for (var i = 0, c = options.bannedPasswords.length; i < c; i++) {
//line with problems incoming:
if (options.bannedPasswords[i].indexOf(str) !== -1) {
return true;
}
}
return false;
};
to
self.inBanlist = function(str) {
for (var i = 0, c = options.bannedPasswords.length; i < c; i++) {
//fixed line incoming:
if (str.indexOf(options.bannedPasswords[i]) !== -1) {
return true;
}
}
return false;
};
In addition you should update your blacklist, otherwise every password with a '0' drops to 0%, as 0 is on the blacklist ... (someone really hated 0 here :D )
from angular-complexify.
I've come to the conclusion that strict mode is unusable for me due to the current behavior.
from angular-complexify.
Repo is updated to the latest jQuery version. Strict mode is not perfect, I'll try to improve it soon.
from angular-complexify.
I have no gripes with angular-complexify, it's the implementation in complexify itself. Actually, the docs describe a very sensible solution, but the actual implementation is sort of 'greedy', matching way more than it should.
from angular-complexify.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-complexify.