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