From 14e881ced5a8654cff46477f11a3d9056fe76e92 Mon Sep 17 00:00:00 2001 From: Mark M2 Macbook Date: Tue, 7 Apr 2026 12:47:32 +0200 Subject: [PATCH] wow, nice, solid base --- lib/features/auth/bloc/auth_bloc.dart | 2 -- lib/features/auth/bloc/auth_events.dart | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/features/auth/bloc/auth_bloc.dart b/lib/features/auth/bloc/auth_bloc.dart index a04a217..b02c718 100644 --- a/lib/features/auth/bloc/auth_bloc.dart +++ b/lib/features/auth/bloc/auth_bloc.dart @@ -29,8 +29,6 @@ class AuthBloc extends Bloc { await _supabase.auth.signUp( email: event.email, password: event.password, - // Qui potresti passare il "Codice Negozio" nei data dell'utente - data: {'store_code': event.storeCode}, ); // Nota: Se Supabase richiede conferma email, l'utente non sarĂ  diff --git a/lib/features/auth/bloc/auth_events.dart b/lib/features/auth/bloc/auth_events.dart index 31cd776..15ddeba 100644 --- a/lib/features/auth/bloc/auth_events.dart +++ b/lib/features/auth/bloc/auth_events.dart @@ -12,13 +12,8 @@ class ToggleAuthMode extends AuthEvent {} // Passa da Login a Registrazione class LoginRequested extends AuthEvent { final String email; final String password; - final String? storeCode; - const LoginRequested({ - required this.email, - required this.password, - this.storeCode, - }); + const LoginRequested({required this.email, required this.password}); @override - List get props => [email, password, storeCode]; + List get props => [email, password]; }