mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 12:24:50 +02:00
82fb2e1bb3
Wire the password-confirmation interceptors into the recommendedapps entry point and switch the installer to a single bulk enable call so the strict password confirmation on enableApps is satisfied. Fixes #60068 -e Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
28 lines
717 B
JavaScript
28 lines
717 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import { getCSPNonce } from '@nextcloud/auth'
|
|
import axios from '@nextcloud/axios'
|
|
import { translate as t } from '@nextcloud/l10n'
|
|
import { addPasswordConfirmationInterceptors } from '@nextcloud/password-confirmation'
|
|
import Vue from 'vue'
|
|
import RecommendedApps from './components/setup/RecommendedApps.vue'
|
|
import logger from './logger.js'
|
|
|
|
addPasswordConfirmationInterceptors(axios)
|
|
|
|
__webpack_nonce__ = getCSPNonce()
|
|
|
|
Vue.mixin({
|
|
methods: {
|
|
t,
|
|
},
|
|
})
|
|
|
|
const View = Vue.extend(RecommendedApps)
|
|
new View().$mount('#recommended-apps')
|
|
|
|
logger.debug('recommended apps view rendered')
|