2018-09-25 11:49:56 +03:00
|
|
|
import Vue from 'vue';
|
|
|
|
import PersonalSettings from './views/PersonalSettings';
|
2019-01-10 01:11:19 +03:00
|
|
|
import store from './store';
|
2018-09-25 11:49:56 +03:00
|
|
|
|
|
|
|
Vue.prototype.t = t;
|
|
|
|
|
2019-01-17 14:30:47 +03:00
|
|
|
const initialState = OCP.InitialState.loadState('twofactor_backupcodes');
|
2019-01-10 01:11:19 +03:00
|
|
|
store.replaceState(
|
2019-01-17 14:30:47 +03:00
|
|
|
initialState
|
2019-01-10 01:11:19 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
const View = Vue.extend(PersonalSettings)
|
|
|
|
new View({
|
|
|
|
store
|
|
|
|
}).$mount('#twofactor-backupcodes-settings')
|