Skip to content

Commit fad03a7

Browse files
committed
fix(core): adjust install script
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 60080aa commit fad03a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/install.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import $ from 'jquery'
77
import { translate as t } from '@nextcloud/l10n'
88
import { linkTo } from '@nextcloud/router'
99

10-
import { getToken } from './OC/requesttoken.js'
10+
import { getRequestToken } from './OC/requesttoken.ts'
1111
import getURLParameter from './Util/get-url-parameter.js'
1212

1313
import './jquery/showpassword.js'
@@ -140,7 +140,7 @@ window.addEventListener('DOMContentLoaded', function() {
140140
t('core', 'Strong password'),
141141
],
142142
drawTitles: true,
143-
nonce: btoa(getToken()),
143+
nonce: btoa(getRequestToken()),
144144
})
145145

146146
$('#dbpass').showPassword().keyup()

0 commit comments

Comments
 (0)