From 46951be40f3c916f132962dcd2b521ff5b01b457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20T=C3=A4kker?= Date: Fri, 5 Dec 2025 02:47:51 +0100 Subject: [PATCH] Add authentication pages: create auth and signin components with layout and form handling --- app/composables/useAuth.ts | 2 -- app/pages/auth.vue | 32 ++++++++++++++++++++++ app/pages/auth/signin.vue | 55 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 2 deletions(-) create mode 100644 app/pages/auth.vue create mode 100644 app/pages/auth/signin.vue diff --git a/app/composables/useAuth.ts b/app/composables/useAuth.ts index 038a6a6..f5ee2e4 100644 --- a/app/composables/useAuth.ts +++ b/app/composables/useAuth.ts @@ -14,8 +14,6 @@ export const useAuth = () => { password: string, remember: boolean = false ) => { - console.log(email) - try { const res = await cfetch( "/auth/signin", diff --git a/app/pages/auth.vue b/app/pages/auth.vue new file mode 100644 index 0000000..4b5eaef --- /dev/null +++ b/app/pages/auth.vue @@ -0,0 +1,32 @@ + + + + + diff --git a/app/pages/auth/signin.vue b/app/pages/auth/signin.vue new file mode 100644 index 0000000..25629bd --- /dev/null +++ b/app/pages/auth/signin.vue @@ -0,0 +1,55 @@ + + + + +