mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-08-26 07:09:40 +00:00
auth_change
This commit is contained in:
@ -284,11 +284,13 @@ class AuthCubit extends Cubit<AuthState> {
|
||||
await login();
|
||||
}
|
||||
emit(AuthOtpSuccess());
|
||||
} else {
|
||||
emit(AuthLoginError(message: 'Something went wrong'));
|
||||
}
|
||||
// else {
|
||||
// emit(AuthLoginError(message: 'Something went wrong'));
|
||||
// }
|
||||
} catch (failure) {
|
||||
emit(AuthLoginError(message: 'Something went wrong'));
|
||||
emit(AuthErrorStatusWithoutMsg());
|
||||
//emit(AuthLoginError(message: 'Something went wrong'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user