aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src/main-personal-password.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/src/main-personal-password.js')
-rw-r--r--apps/settings/src/main-personal-password.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/settings/src/main-personal-password.js b/apps/settings/src/main-personal-password.js
new file mode 100644
index 00000000000..b74f5f71aa2
--- /dev/null
+++ b/apps/settings/src/main-personal-password.js
@@ -0,0 +1,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),
+})