WT1.1.2e error fixes

This commit is contained in:
bossanyit
2020-10-29 15:21:24 +01:00
parent 7f8eabfb0e
commit 8f651ceb0d
27 changed files with 142 additions and 880 deletions
+1 -2
View File
@@ -72,14 +72,13 @@ class FirebaseApi {
throw Exception("Password too short");
} else if (e.code == 'email-already-in-use') {
print('The account already exists for that email.');
throw Exception("Customer exists");
rc = REGISTER_EMAIL_IN_USE;
throw Exception("Customer exists");
}
} catch (e) {
print(e);
throw Exception(e.toString());
}
return rc;
}