diff --git a/bower.json b/bower.json index 49b40f390f..6332d8ddb9 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/js/setup.js b/core/js/setup.js index b3b2049c44..5b0bd679db 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/core/vendor/strengthify/.bower.json b/core/vendor/strengthify/.bower.json index 5441c6d3f0..ead8cd7e5e 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 */ diff --git a/settings/js/security_password.js b/settings/js/security_password.js index f7cb657c25..c23e60cfea 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 +});