Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Prefill email, password for demo mode
天舟92ad7d071c84
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vueindex 332e58eaa4..3396452a75 100644--- a/frontend/src/views/auth/Signin.vue+++ b/frontend/src/views/auth/Signin.vue@@ -141,12 +141,15 @@ export default {const router = useRouter();const state = reactive<LocalState>({- email: isRelease() ? "" : "[email protected]",- password: isRelease() ? "" : "1024",+ email: "",+ password: "",});const prepareInfo = () => {store.dispatch("actuator/info").then((info: ServerInfo) => {+ const demo = store.getters["actuator/isDemo"]();+ state.email = demo ? "[email protected]" : "";+ state.password = demo ? "1024" : "";// Navigate to signup if needs admin setup.// Unable to achieve it in router.beforeEach because actutor/info is fetched async and returns// after router has already made the decision on first page load.