mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
fix reading updater token for web updater
the previously called endpoint returns exactly one value, no JSON structure Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
8e89c281a5
commit
267f3896ae
3 changed files with 4 additions and 4 deletions
|
|
@ -406,7 +406,7 @@ export default {
|
|||
const hiddenField = document.createElement('input')
|
||||
hiddenField.setAttribute('type', 'hidden')
|
||||
hiddenField.setAttribute('name', 'updater-secret-input')
|
||||
hiddenField.setAttribute('value', data.token)
|
||||
hiddenField.setAttribute('value', data)
|
||||
|
||||
form.appendChild(hiddenField)
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue