From 3d0a3b86cf856a2dca2ef340a73e8c4e4cdecd21 Mon Sep 17 00:00:00 2001 From: scammo Date: Thu, 4 Jan 2024 19:30:57 +0100 Subject: [PATCH] prod default values login --- frontend/src/views/Login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Login.vue b/frontend/src/views/Login.vue index 37e5862..57039c0 100644 --- a/frontend/src/views/Login.vue +++ b/frontend/src/views/Login.vue @@ -10,8 +10,8 @@ const router = useRouter(); const route = useRoute(); const loading = ref(false); -const email = ref("root@chaostreff-flensburg.de"); -const password = ref("password"); +const email = ref(import.meta.env.PROD ? "" : "root@chaostreff-flensburg.de"); +const password = ref(import.meta.env.PROD ? "" : "password"); const onSubmit = async () => { loading.value = true;