From 24c74b3db91e29e301041ab378ad0fc1f87076af Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 3 Oct 2018 16:03:23 +0200 Subject: Update strengthify Signed-off-by: Morris Jobke --- bower.json | 2 +- core/vendor/strengthify/.bower.json | 10 +++++----- core/vendor/strengthify/jquery.strengthify.js | 8 ++++++-- core/vendor/strengthify/strengthify.css | 2 +- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/bower.json b/bower.json index 49b40f390f8..6332d8ddb9b 100644 --- a/bower.json +++ b/bower.json @@ -31,7 +31,7 @@ "moment": "^2.15.0", "select2": "~3.4.8", "snapjs": "~2.0.0-rc1", - "strengthify": "^0.5.3", + "strengthify": "^0.5.5", "underscore": "~1.8.0", "zxcvbn": "*" } diff --git a/core/vendor/strengthify/.bower.json b/core/vendor/strengthify/.bower.json index 5441c6d3f0c..ead8cd7e5e8 100644 --- a/core/vendor/strengthify/.bower.json +++ b/core/vendor/strengthify/.bower.json @@ -1,6 +1,6 @@ { "name": "strengthify", - "version": "0.5.4", + "version": "0.5.5", "homepage": "https://github.com/MorrisJobke/strengthify", "authors": [ "Eve Ragins */ -- cgit v1.2.3 From c8e617b07c2df1e85f5504cca11e438921a3aafd Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 3 Oct 2018 16:07:21 +0200 Subject: Set nonce for loading the zxcvbn Signed-off-by: Morris Jobke --- core/js/setup.js | 1 + settings/js/security_password.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/js/setup.js b/core/js/setup.js index b3b2049c447..5b0bd679dbe 100644 --- a/core/js/setup.js +++ b/core/js/setup.js @@ -123,6 +123,7 @@ $(document).ready(function() { t('core', 'Strong password') ], drawTitles: true, + nonce: btoa(OC.requestToken), }); // centers the database chooser if it is too wide diff --git a/settings/js/security_password.js b/settings/js/security_password.js index f7cb657c258..c23e60cfea6 100644 --- a/settings/js/security_password.js +++ b/settings/js/security_password.js @@ -81,5 +81,6 @@ $(document).ready(function () { ], drawTitles: true, $addAfter: $('input[name="newpassword-clone"]'), + nonce: btoa(OC.requestToken), }); -}); \ No newline at end of file +}); -- cgit v1.2.3