Merge pull request #4083 from nextcloud/update-strengthify
Update strengthify and fix password strength
This commit is contained in:
commit
56243e07cb
|
@ -25,7 +25,7 @@
|
||||||
"select2": "~3.4.8",
|
"select2": "~3.4.8",
|
||||||
"zxcvbn": "*",
|
"zxcvbn": "*",
|
||||||
"snapjs": "~2.0.0-rc1",
|
"snapjs": "~2.0.0-rc1",
|
||||||
"strengthify": "^0.5.1",
|
"strengthify": "^0.5.2",
|
||||||
"underscore": "~1.8.0",
|
"underscore": "~1.8.0",
|
||||||
"bootstrap": "~3.3.6",
|
"bootstrap": "~3.3.6",
|
||||||
"backbone": "~1.2.3",
|
"backbone": "~1.2.3",
|
||||||
|
|
|
@ -172,3 +172,7 @@ DOMPurify/**
|
||||||
!DOMPurify/dist/purify.min.js
|
!DOMPurify/dist/purify.min.js
|
||||||
!DOMPurify/.bower.json
|
!DOMPurify/.bower.json
|
||||||
!DOMPurify/LICENSE
|
!DOMPurify/LICENSE
|
||||||
|
|
||||||
|
# strengthify
|
||||||
|
strengthify/examples.html
|
||||||
|
strengthify/examples.png
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "strengthify",
|
"name": "strengthify",
|
||||||
"version": "0.5.1",
|
"version": "0.5.2",
|
||||||
"homepage": "https://github.com/MorrisJobke/strengthify",
|
"homepage": "https://github.com/MorrisJobke/strengthify",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Eve Ragins <eve.ragins@eve-corp.com",
|
"Eve Ragins <eve.ragins@eve-corp.com",
|
||||||
|
@ -9,13 +9,13 @@
|
||||||
"description": "Combine jQuery and zxcvbn to create a password strength meter.",
|
"description": "Combine jQuery and zxcvbn to create a password strength meter.",
|
||||||
"main": "jquery.strengthify.js",
|
"main": "jquery.strengthify.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"_release": "0.5.1",
|
"_release": "0.5.2",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "0.5.1",
|
"tag": "0.5.2",
|
||||||
"commit": "fd8bc41992bb37e16495a8e4c266951b93f8467d"
|
"commit": "82d63c39de1b7b60ae38d24d0f866cba325904b5"
|
||||||
},
|
},
|
||||||
"_source": "https://github.com/MorrisJobke/strengthify.git",
|
"_source": "https://github.com/MorrisJobke/strengthify.git",
|
||||||
"_target": "^0.5.1",
|
"_target": "^0.5.2",
|
||||||
"_originalSource": "strengthify"
|
"_originalSource": "strengthify"
|
||||||
}
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
* Strengthify - show the weakness of a password (uses zxcvbn for this)
|
* Strengthify - show the weakness of a password (uses zxcvbn for this)
|
||||||
* https://github.com/MorrisJobke/strengthify
|
* https://github.com/MorrisJobke/strengthify
|
||||||
*
|
*
|
||||||
* Version: 0.5.1
|
* Version: 0.5.2
|
||||||
* Author: Morris Jobke (github.com/MorrisJobke) - original
|
* Author: Morris Jobke (github.com/MorrisJobke) - original
|
||||||
* Eve Ragins @ Eve Corp (github.com/eve-corp)
|
* Eve Ragins @ Eve Corp (github.com/eve-corp)
|
||||||
*
|
*
|
||||||
|
@ -107,6 +107,7 @@
|
||||||
css = 'password-good';
|
css = 'password-good';
|
||||||
bsLevel = 'info';
|
bsLevel = 'info';
|
||||||
message = "Getting better.";
|
message = "Getting better.";
|
||||||
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
css = 'password-good';
|
css = 'password-good';
|
||||||
bsLevel = 'success';
|
bsLevel = 'success';
|
||||||
|
@ -198,9 +199,9 @@
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
cache: true,
|
cache: true,
|
||||||
dataType: 'script',
|
|
||||||
url: options.zxcvbn
|
url: options.zxcvbn
|
||||||
}).done(function() {
|
}).done(function(content) {
|
||||||
|
eval(content);
|
||||||
$elem.bind('keyup input change', drawSelf);
|
$elem.bind('keyup input change', drawSelf);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/**
|
/**
|
||||||
* Strengthify - show the weakness of a password (uses zxcvbn for this)
|
* Strengthify - show the weakness of a password (uses zxcvbn for this)
|
||||||
* https://github.com/MorrisJobke/strengthify
|
* https://github.com/MorrisJobke/strengthify
|
||||||
* Version: 0.5.1
|
* Version: 0.5.2
|
||||||
* License: The MIT License (MIT)
|
* License: The MIT License (MIT)
|
||||||
* Copyright (c) 2013-2016 Morris Jobke <morris.jobke@gmail.com>
|
* Copyright (c) 2013-2016 Morris Jobke <morris.jobke@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue