forked from eatvio/eatvio_app
feat(verify): phone + email
This commit is contained in:
@@ -25,7 +25,7 @@ class RegistrationCubit extends Cubit<RegistrationState> {
|
||||
birthdate: '',
|
||||
gender: '',
|
||||
location: '',
|
||||
responseBody: '',
|
||||
responseBody: '{}',
|
||||
lang: 'Русский',
|
||||
weight: 0,
|
||||
height: 0,
|
||||
@@ -54,6 +54,7 @@ class RegistrationCubit extends Cubit<RegistrationState> {
|
||||
final token = await registrationRepository.tryRegister(
|
||||
state.sheet.copyWith(
|
||||
phone: state.sheet.phone.replaceAll(' ', '').replaceAll('(', '').replaceAll(')', ''),
|
||||
responseBody: '{}',
|
||||
),
|
||||
);
|
||||
await TokenStorage.saveTokenInStorage(token);
|
||||
|
||||
Reference in New Issue
Block a user