Removed Testcode
parent
8cec856e1c
commit
6a37ce858e
|
@ -19,15 +19,6 @@ class AuthService {
|
|||
password: password,
|
||||
);
|
||||
|
||||
// save user info if it does not already exist
|
||||
// TODO TESTING - same code snippet as for sign up
|
||||
_firestore.collection("Users").doc(userCredential.user!.uid).set(
|
||||
{
|
||||
'uid': userCredential.user!.uid,
|
||||
'email': email,
|
||||
},
|
||||
);
|
||||
|
||||
return userCredential;
|
||||
} on FirebaseAuthException catch (e) {
|
||||
throw Exception(e.code);
|
||||
|
|
Loading…
Reference in New Issue