We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60080aa commit fad03a7Copy full SHA for fad03a7
core/src/install.js
@@ -7,7 +7,7 @@ import $ from 'jquery'
7
import { translate as t } from '@nextcloud/l10n'
8
import { linkTo } from '@nextcloud/router'
9
10
-import { getToken } from './OC/requesttoken.js'
+import { getRequestToken } from './OC/requesttoken.ts'
11
import getURLParameter from './Util/get-url-parameter.js'
12
13
import './jquery/showpassword.js'
@@ -140,7 +140,7 @@ window.addEventListener('DOMContentLoaded', function() {
140
t('core', 'Strong password'),
141
],
142
drawTitles: true,
143
- nonce: btoa(getToken()),
+ nonce: btoa(getRequestToken()),
144
})
145
146
$('#dbpass').showPassword().keyup()
0 commit comments