WT1.1.2f login fix
This commit is contained in:
@@ -73,7 +73,13 @@ class FirebaseApi {
|
||||
} else if (e.code == 'email-already-in-use') {
|
||||
print('The account already exists for that email.');
|
||||
rc = REGISTER_EMAIL_IN_USE;
|
||||
throw Exception("Customer exists");
|
||||
userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword(
|
||||
email: email,
|
||||
password: password
|
||||
);
|
||||
if ( rc != null ) {
|
||||
String rc = SIGN_IN_OK;
|
||||
}
|
||||
}
|
||||
} catch (e) {
|
||||
print(e);
|
||||
|
||||
Reference in New Issue
Block a user