mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-25 01:37:55 +00:00
Refactor email and password validation logic in LoginForm widget
Update email and password validation logic in the LoginForm widget to only perform validation when the state is not AuthTokenError. This ensures that validation is skipped when there is an authentication token error.
This commit is contained in:
@@ -23,7 +23,7 @@ class MyBlocObserver extends BlocObserver {
|
||||
|
||||
@override
|
||||
void onClose(BlocBase bloc) {
|
||||
super.onClose(bloc);
|
||||
print('onClose -- ${bloc.runtimeType}');
|
||||
super.onClose(bloc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user