Skip to content
Snippets Groups Projects
Unverified Commit c8e617b0 authored by Morris Jobke's avatar Morris Jobke
Browse files

Set nonce for loading the zxcvbn


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent 24c74b3d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -81,5 +81,6 @@ $(document).ready(function () {
],
drawTitles: true,
$addAfter: $('input[name="newpassword-clone"]'),
nonce: btoa(OC.requestToken),
});
});
\ No newline at end of file
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment