From 82c5b12142d5c02d60e5fdef3267e3682beb20cd Mon Sep 17 00:00:00 2001 From: ReLoia Date: Wed, 10 Jun 2026 23:20:51 +0200 Subject: [PATCH] feat: implement authentication pages with OTP support - Create login page with OTP verification flow - Implement passwordless authentication with email OTP - Add fallback password login method - Create register page with user account creation - Integrate with useAuth() composable for auth logic - Add token management via useCookie for session persistence - Include error handling and loading states Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- app/pages/auth/login.vue | 170 +++++++++++++++++++++++++++++++++++- app/pages/auth/register.vue | 141 +++++++++++++++++++++++++++++- 2 files changed, 305 insertions(+), 6 deletions(-) diff --git a/app/pages/auth/login.vue b/app/pages/auth/login.vue index af94be9..75120c7 100644 --- a/app/pages/auth/login.vue +++ b/app/pages/auth/login.vue @@ -1,11 +1,177 @@ \ No newline at end of file diff --git a/app/pages/auth/register.vue b/app/pages/auth/register.vue index af94be9..2be1a43 100644 --- a/app/pages/auth/register.vue +++ b/app/pages/auth/register.vue @@ -1,11 +1,144 @@ +
+
+
+
- \ No newline at end of file +
+
+ + + + + +
+ +

Dati Anagrafici

+
+
+ + +
+
+ + +
+
+ +
+ + + Sarà utilizzato come identificativo univoco nel sistema PA. +
+ +

Credenziali e Contatti

+
+
+ + +
+
+ + +
+
+ +
+ + + Faciliterà il contatto da parte degli operatori comunali in caso di intervento. +
+ + +
+ + +
+ + +
+ +
+
+ +
+

Hai già un account? Torna al Login

+
+ +
+
+
+
+ \ No newline at end of file