Skip to content

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

chore: explicitly list demo email and password in case auto fill not working (#4807)

Tianzhou (天舟)baed3ce4ce30
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index d31eeb44ed..30d9ffb7e2 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -847,7 +847,7 @@
"title": "Sign in to your account",
"forget-password": "Forgot your password?",
"new-user": "New to Bytebase?",
- "demo-note": "Please use demo account to sign in",
+ "demo-note": "Email:{username} Password:{password}",
"gitlab": "Login with GitLab",
"github": "Login with GitHub",
"gitlab-oauth": "Reach to your Admin to enable GitLab login",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index f2e66d0030..e3cf8da1c9 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -844,7 +844,7 @@
"title": "登录您的账号",
"forget-password": "忘记密码?",
"new-user": "第一次使用 Bytebase?",
- "demo-note": "请使用 demo 账号登录",
+ "demo-note": "邮箱:{username} 密码:{password}",
"gitlab": "通过 GitLab 登录",
"github": "通过 GitHub 登录",
"gitlab-oauth": "您可联系管理员开启 GitLab 登录",
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index 81e1906528..e32fb0bd15 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -89,7 +89,10 @@
<div class="relative flex justify-center text-sm">
<template v-if="isDemo">
<span class="pl-2 bg-white text-accent">{{
- $t("auth.sign-in.demo-note")
+ $t("auth.sign-in.demo-note", {
+ username: "[email protected]",
+ password: "1024",
+ })
}}</span>
</template>
<template v-else-if="!disallowSignup">