Normalize email to lowercase when logging in

This commit is contained in:
mohammad
2025-06-01 16:21:22 +03:00
parent 15ea1b4c5a
commit 2d68fc23a3
+1 -1
View File
@@ -161,7 +161,7 @@ class AuthBloc extends Bloc<AuthEvent, AuthState> {
token = await AuthenticationAPI.loginWithEmail(
model: LoginWithEmailModel(
email: event.username,
email: event.username.toLowerCase(),
password: event.password,
),
);