Minor - update lib jQuery Password Strength plugin

pull/2528/head
jmontoyaa 7 years ago
parent ca8b1763b5
commit bd22e50e3b
  1. 4
      public/libs/pwstrength-bootstrap/CHANGES.md
  2. 2
      public/libs/pwstrength-bootstrap/bower.json
  3. 7
      public/libs/pwstrength-bootstrap/dist/pwstrength-bootstrap.js
  4. 4
      public/libs/pwstrength-bootstrap/dist/pwstrength-bootstrap.min.js
  5. 2
      public/libs/pwstrength-bootstrap/dist/pwstrength-bootstrap.min.map
  6. 2
      public/libs/pwstrength-bootstrap/package.json
  7. 5
      public/libs/pwstrength-bootstrap/src/rules.js

@ -1,5 +1,9 @@
# CHANGELOG
## 2.2.1
- Bugfix in the common passwords rule.
## 2.2.0
- Add new rule to penalize common passwords.

@ -1,6 +1,6 @@
{
"name": "pwstrength-bootstrap",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",
"authors": [
"Alejandro Blanco <alejandro.b.e@gmail.com>"

@ -1,6 +1,6 @@
/*!
* jQuery Password Strength plugin for Twitter Bootstrap
* Version: 2.2.0
* Version: 2.2.1
*
* Copyright (c) 2008-2013 Tane Piper
* Copyright (c) 2013 Alejandro Blanco
@ -195,7 +195,10 @@ try {
};
validation.wordIsACommonPassword = function (options, word, score) {
return ($.inArray(word, options.rules.commonPasswords) >= 0) && score;
if ($.inArray(word, options.rules.commonPasswords) >= 0) {
return score;
}
return 0;
};
rulesEngine.validation = validation;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,6 +1,6 @@
{
"name": "pwstrength-bootstrap",
"version": "2.2.0",
"version": "2.2.1",
"description": "jQuery plugin for Twitter Bootstrap that provides rulesets for visualy displaying the quality of a users typed in password.",
"author": "Alejandro Blanco <alejandro.b.e@gmail.com>",
"homepage": "https://github.com/ablanco/jquery.pwstrength.bootstrap",

@ -148,7 +148,10 @@ try {
};
validation.wordIsACommonPassword = function (options, word, score) {
return ($.inArray(word, options.rules.commonPasswords) >= 0) && score;
if ($.inArray(word, options.rules.commonPasswords) >= 0) {
return score;
}
return 0;
};
rulesEngine.validation = validation;

Loading…
Cancel
Save