From ff6afae0a0a038f35b8bafc4edd71cf7009a20cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 12 Feb 2026 22:01:47 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20model=20rework=20for=20"Credenti?= =?UTF-8?q?als"=20=F0=9F=90=9B=20(missed=20file)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - updated ui/src/components/LoginModal.vue --- ui/src/components/LoginModal.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ui/src/components/LoginModal.vue b/ui/src/components/LoginModal.vue index 060760a..534fb5f 100644 --- a/ui/src/components/LoginModal.vue +++ b/ui/src/components/LoginModal.vue @@ -16,7 +16,7 @@ ref="username_input" class="input" type="text" - v-model="creds[0]" + v-model="creds.username" /> @@ -24,7 +24,7 @@
- +
@@ -60,7 +60,10 @@ const emit = defineEmits<{ (event: "cancel"): void; }>(); -const creds = ref(["", ""]); +const creds = ref({ + username: "", + password: "", +}); function submit(): void { emit("submit", creds.value);