From 2d68fc23a3b69a57370bc946fb9f788b43688222 Mon Sep 17 00:00:00 2001 From: mohammad Date: Sun, 1 Jun 2025 16:21:22 +0300 Subject: [PATCH] Normalize email to lowercase when logging in --- lib/pages/auth/bloc/auth_bloc.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/auth/bloc/auth_bloc.dart b/lib/pages/auth/bloc/auth_bloc.dart index 35663557..e5de46c9 100644 --- a/lib/pages/auth/bloc/auth_bloc.dart +++ b/lib/pages/auth/bloc/auth_bloc.dart @@ -161,7 +161,7 @@ class AuthBloc extends Bloc { token = await AuthenticationAPI.loginWithEmail( model: LoginWithEmailModel( - email: event.username, + email: event.username.toLowerCase(), password: event.password, ), );