Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(2fa): update user doc link (#5077)

boojack749586b9752e
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index 4f02a39d3c..255446c0dc 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -189,8 +189,10 @@
</div>
<p class="mt-4 text-sm text-gray-500">
{{ $t("two-factor.description") }}
- <!-- TODO(steven): update the docs link -->
- <LearnMoreLink class="ml-1" url="" />
+ <LearnMoreLink
+ class="ml-1"
+ url="https://www.bytebase.com/docs/administration/2fa?source=console"
+ />
</p>
<template v-if="isMFAEnabled">
<div class="w-full flex flex-row justify-between items-center mt-8">
diff --git a/frontend/src/views/TwoFactorSetup.vue b/frontend/src/views/TwoFactorSetup.vue
index cfbfdce44e..7d4177ae7a 100644
--- a/frontend/src/views/TwoFactorSetup.vue
+++ b/frontend/src/views/TwoFactorSetup.vue
@@ -1,7 +1,9 @@
<template>
<p class="text-sm text-gray-500 mb-4">
{{ $t("two-factor.description") }}
- <LearnMoreLink url="" />
+ <LearnMoreLink
+ url="https://www.bytebase.com/docs/administration/2fa?source=console"
+ />
</p>
<BBStepTab
class="mb-8"
diff --git a/frontend/src/views/auth/MultiFactor.vue b/frontend/src/views/auth/MultiFactor.vue
index fea5e9e4d3..175a7eff1e 100644
--- a/frontend/src/views/auth/MultiFactor.vue
+++ b/frontend/src/views/auth/MultiFactor.vue
@@ -2,18 +2,20 @@
<div
class="mx-auto w-full h-full min-h-screen flex flex-col justify-center items-center bg-gray-100"
>
- <img
- class="h-12 w-auto mx-auto -mt-16 mb-4"
- src="../../assets/logo-full.svg"
- alt="Bytebase"
- />
<div class="w-80 bg-white p-8 py-6 rounded-lg shadow">
+ <img
+ class="h-12 w-auto mx-auto mb-8"
+ src="../../assets/logo-full.svg"
+ alt="Bytebase"
+ />
<form
class="w-full mt-4 h-auto flex flex-col justify-start items-center"
@submit.prevent="challenge"
>
<template v-if="state.selectedMFAType === 'OTP'">
- <heroicons-outline:device-phone-mobile class="w-8 h-auto" />
+ <heroicons-outline:device-phone-mobile
+ class="w-8 h-auto opacity-60"
+ />
<p class="my-2 mb-4">{{ $t("multi-factor.auth-code") }}</p>
<input
v-model="state.otpCode"
@@ -23,7 +25,7 @@
/>
</template>
<template v-else-if="state.selectedMFAType === 'RECOVERY_CODE'">
- <heroicons-outline:key class="w-8 h-auto" />
+ <heroicons-outline:key class="w-8 h-auto opacity-60" />
<p class="my-2 mb-4">{{ $t("multi-factor.recovery-code") }}</p>
<input
v-model="state.recoveryCode"