Skip to content

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

chore: auto-login for sql-editor.com (#13698)

Tianzhou (天舟)caa3d2311a89
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index c72f8e07bd..58f853884b 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -269,7 +269,8 @@ onMounted(async () => {
}
// Try to signin with example account in demo site.
if (
- window.location.href.startsWith("https://demo.bytebase.com") &&
+ (window.location.href.startsWith("https://demo.bytebase.com") ||
+ window.location.href.startsWith("https://sql-editor.com")) &&
isDemo.value &&
state.email &&
state.password