From b979040511778a6a675cb0b335ca8c2c48690440 Mon Sep 17 00:00:00 2001 From: Alejandro Leal Date: Fri, 11 Oct 2024 14:52:04 +0200 Subject: [PATCH 1/2] reset password (wip) --- src/pages/auth/reset.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/pages/auth/reset.vue b/src/pages/auth/reset.vue index 3240d3a..018b7c9 100644 --- a/src/pages/auth/reset.vue +++ b/src/pages/auth/reset.vue @@ -21,6 +21,15 @@ useHead({ }, ], }); + +const resetForm = ref({ + email: '', +}); + +const submitForm = async (event: Event) => { + event.preventDefault(); + console.log(resetForm.value.email); +} - +
{{ t('register.question') }} diff --git a/src/pages/auth/reset.vue b/src/pages/auth/reset.vue index 018b7c9..a7f7374 100644 --- a/src/pages/auth/reset.vue +++ b/src/pages/auth/reset.vue @@ -1,5 +1,6 @@ @@ -48,17 +85,20 @@ const submitForm = async (event: Event) => {
-
- +
{{ t('reset.question_1') }} diff --git a/src/pages/index.vue b/src/pages/index.vue index 7e650e3..8c1decb 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -31,9 +31,9 @@ useHead({

{{ t('home.p') }}

- + +
{{ t('home.button') }}
+