Skip to content

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

chore: don't use the default user password for dev (#2842)

Danny Xuf446f7149128
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index 2f6aa4b8c6..85cc38bddb 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -190,7 +190,7 @@ import {
OAuthWindowEventPayload,
openWindowForOAuth,
} from "../../types";
-import { isDev, isValidEmail } from "../../utils";
+import { isValidEmail } from "../../utils";
import AuthFooter from "./AuthFooter.vue";
import { featureToRef, useActuatorStore, useAuthStore } from "@/store";
import { storeToRefs } from "pinia";
@@ -219,9 +219,9 @@ export default defineComponent({
const { isDemo } = storeToRefs(actuatorStore);
onMounted(() => {
- state.email = isDev() || isDemo.value ? "[email protected]" : "";
- state.password = isDev() || isDemo.value ? "1024" : "";
- state.showPassword = isDev() || isDemo.value ? true : false;
+ state.email = isDemo.value ? "[email protected]" : "";
+ state.password = isDemo.value ? "1024" : "";
+ state.showPassword = 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.