-
-
Save gavilanch/3d6e53c1abd161aaa2903e202ba64d15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
createUser() { | |
this.afAuth.auth.createUserWithEmailAndPassword(this.loginForm.value.email, this.loginForm.value.password).then(() => { | |
this.router.navigate(['/todos']); | |
}).catch(response => { | |
this.errorMessage = response.message; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment