Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ...
- class Firebase() {
- // ...
- handleCreateUser = (email, password) => this.auth.createUserWithEmailAndPassword(email, password);
- handleLogin = (email, password) => this.auth.signInWithEmailAndPassword(email, password);
- handleLogout = () => this.auth.signOut();
- handleRecoverPassword = (email) => this.auth.sendPasswordResetEmail(email);
- handleChangePassword = (password) => this.auth.updatePassword(password);
- };
- export default Firebase;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement