feat: 2FA UI + modal
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user