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: only check 2fa required when has feature (#5551)
boojack6b2481746211
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.tsindex a080f7a86e..d2786ab052 100644--- a/frontend/src/router/index.ts+++ b/frontend/src/router/index.ts@@ -1151,7 +1151,11 @@ router.beforeEach((to, from, next) => {const serverInfo = useActuatorStore().serverInfo;// If 2FA is required, redirect to MFA setup page if the user has not enabled 2FA.- if (serverInfo?.require2fa && currentUser.value) {+ if (+ hasFeature("bb.feature.2fa") &&+ serverInfo?.require2fa &&+ currentUser.value+ ) {const user = userStore.getUserById(currentUser.value.id as number);if (user && !user.mfaEnabled) {next({