Set nonce for loading the zxcvbn
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
24c74b3db9
commit
c8e617b07c
|
@ -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),
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue