summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-03 16:07:21 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-10-03 17:05:01 +0200
commitc8e617b07c2df1e85f5504cca11e438921a3aafd (patch)
treee6574d10de10da167361313c6308c0f0b1b9843d /settings
parent24c74b3db91e29e301041ab378ad0fc1f87076af (diff)
downloadnextcloud-server-c8e617b07c2df1e85f5504cca11e438921a3aafd.tar.gz
nextcloud-server-c8e617b07c2df1e85f5504cca11e438921a3aafd.zip
Set nonce for loading the zxcvbn
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/security_password.js3
1 files changed, 2 insertions, 1 deletions
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
+});