feat: 2FA UI + modal

This commit is contained in:
NGPixel authored and Nicolas Giard committed 2017-07-09 00:01:34 -04:00
1 parent d7992a5e19
commit 879ca63be5
14 files changed
+130 -38

No files matched your search

+6 -1
View File
@@ -2,13 +2,18 @@
export default {
name: 'admin-profile',
props: ['email', 'name', 'provider'],
props: ['email', 'name', 'provider', 'tfaIsActive'],
data() {
return {
password: '********',
passwordVerify: '********'
}
},
computed: {
tfaStatus() {
return this.tfaIsActive ? this.$t('profile.tfaenabled') : this.$t('profile.tfadisabled')
}
},
methods: {
saveUser() {
let self = this