Skip to content

Instantly share code, notes, and snippets.

@enappd
Last active June 13, 2019 07:26
Ionic 4 Firebase email auth
signup() {
this.fireauth.auth.createUserWithEmailAndPassword(this.email, this.password)
.then(res => {
if (res.user) {
console.log(res.user);
}
})
.catch(err => {
console.log(`signup failed ${err}`);
this.error = err.message;
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment