Skip to content

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

chore: show password by default in demo & dev mode (#2633)

ZhengX1d29b040c179
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index b525cba0aa..2f6aa4b8c6 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -221,6 +221,7 @@ export default defineComponent({
onMounted(() => {
state.email = isDev() || isDemo.value ? "[email protected]" : "";
state.password = isDev() || isDemo.value ? "1024" : "";
+ state.showPassword = isDev() || isDemo.value ? true : false;
// Navigate to signup if needs admin setup.
// Unable to achieve it in router.beforeEach because actuator/info is fetched async and returns
// after router has already made the decision on first page load.