diff options
Diffstat (limited to 'settings/src/main-admin-security.js')
-rw-r--r-- | settings/src/main-admin-security.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/settings/src/main-admin-security.js b/settings/src/main-admin-security.js index 711325d57b0..f2acc9474a5 100644 --- a/settings/src/main-admin-security.js +++ b/settings/src/main-admin-security.js @@ -1,13 +1,10 @@ import Vue from 'vue' -import AdminTwoFactor from './components/AdminTwoFactor' +import AdminTwoFactor from './components/AdminTwoFactor.vue' + +__webpack_nonce__ = btoa(OC.requestToken) Vue.prototype.t = t; -new Vue({ - el: '#two-factor-auth-settings', - template: '<AdminTwoFactor/>', - components: { - AdminTwoFactor - } -}) +const View = Vue.extend(AdminTwoFactor) +new View().$mount('#two-factor-auth-settings') |