summaryrefslogtreecommitdiffstats
path: root/core/js/setup.js
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 /core/js/setup.js
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 'core/js/setup.js')
-rw-r--r--core/js/setup.js1
1 files changed, 1 insertions, 0 deletions
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