File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/authenticator/amplify_authenticator/lib/src/blocs/auth Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ class StateMachineBloc
301
301
} on Exception catch (e) {
302
302
_exceptionController.add (AuthenticatorException (e));
303
303
}
304
+ // Emit empty event to resolve bug with broken event handling on web (possible DDC issue)
305
+ yield * const Stream .empty ();
304
306
}
305
307
306
308
Stream <AuthState > _resetPassword (AuthResetPasswordData data) async * {
@@ -311,6 +313,8 @@ class StateMachineBloc
311
313
} on Exception catch (e) {
312
314
_exceptionController.add (AuthenticatorException (e));
313
315
}
316
+ // Emit empty event to resolve bug with broken event handling on web (possible DDC issue)
317
+ yield * const Stream .empty ();
314
318
}
315
319
316
320
void _notifyCodeSent (String ? destination) {
You can’t perform that action at this time.
0 commit comments