aboutsummaryrefslogtreecommitdiffstats
path: root/settings/src/main-admin-security.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 14:03:22 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-10 14:34:52 +0200
commit67c3730fbb8e12c6adda0af37d5a7ac8960415dc (patch)
tree4625e834d8812cff6c7f4a4bdae16ea9f8cda564 /settings/src/main-admin-security.js
parent1dbd7172c31b2d611e49c7c8a60a05da134a4733 (diff)
downloadnextcloud-server-67c3730fbb8e12c6adda0af37d5a7ac8960415dc.tar.gz
nextcloud-server-67c3730fbb8e12c6adda0af37d5a7ac8960415dc.zip
Add admin interface to enforce 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'settings/src/main-admin-security.js')
-rw-r--r--settings/src/main-admin-security.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/src/main-admin-security.js b/settings/src/main-admin-security.js
new file mode 100644
index 00000000000..711325d57b0
--- /dev/null
+++ b/settings/src/main-admin-security.js
@@ -0,0 +1,13 @@
+import Vue from 'vue'
+
+import AdminTwoFactor from './components/AdminTwoFactor'
+
+Vue.prototype.t = t;
+
+new Vue({
+ el: '#two-factor-auth-settings',
+ template: '<AdminTwoFactor/>',
+ components: {
+ AdminTwoFactor
+ }
+})