Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: hide 2FA config for others (#5053)
boojack49dd3dc7a0b9
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vueindex ad0b73239c..75721ab7f8 100644--- a/frontend/src/views/ProfileDashboard.vue+++ b/frontend/src/views/ProfileDashboard.vue@@ -172,6 +172,7 @@<!-- 2FA setting section --><div+ v-if="showMFAConfig"class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 border-t mt-16 pt-8 pb-4"><div class="w-full flex flex-row justify-between items-center">@@ -330,6 +331,11 @@ const principal = computed(() => {return currentUser.value;});+const showMFAConfig = computed(() => {+ // Only show MFA config for the user themselves.+ return principal.value.id === currentUser.value.id;+});+const passwordMismatch = computed(() => {return (!isEmpty(state.editingPrincipal?.password) &&