summaryrefslogtreecommitdiffstats
path: root/apps/twofactor_backupcodes/src/settings.js
blob: 5a8251121da5e8c576e73729ac724f6ecee83e47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Vue from 'vue';
import PersonalSettings from './views/PersonalSettings';
import store from './store';

Vue.prototype.t = t;

const initialState = OCP.InitialState.loadState('twofactor_backupcodes', 'state');
store.replaceState(
	initialState
)

const View = Vue.extend(PersonalSettings)
new View({
	store
}).$mount('#twofactor-backupcodes-settings')