aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/main-personal-password.js
blob: b74f5f71aa29f265509a3a458537615c96b3443d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
import { getCSPNonce } from '@nextcloud/auth'
import { t, n } from '@nextcloud/l10n'

import Vue from 'vue'
import PasswordSection from './components/PasswordSection.vue'

// eslint-disable-next-line camelcase
__webpack_nonce__ = getCSPNonce()

Vue.prototype.t = t
Vue.prototype.n = n

export default new Vue({
	el: '#security-password',
	name: 'main-personal-password',
	render: h => h(PasswordSection),
})