mirror of
https://github.com/nextcloud/server.git
synced 2026-02-16 17:30:55 -05:00
20 lines
523 B
JavaScript
20 lines
523 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
import { loadState } from '@nextcloud/initial-state'
|
|
import Vue from 'vue'
|
|
|
|
import PersonalSettings from './views/PersonalSettings.vue'
|
|
import store from './store.js'
|
|
|
|
Vue.prototype.t = t
|
|
|
|
const initialState = loadState('twofactor_backupcodes', 'state')
|
|
store.replaceState(initialState)
|
|
|
|
const View = Vue.extend(PersonalSettings)
|
|
new View({
|
|
store,
|
|
}).$mount('#twofactor-backupcodes-settings')
|