mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-18 03:26:07 +08:00
fix: firebase not defined in email handler
This commit is contained in:
parent
fd6d1cbbf8
commit
829174983a
1 changed files with 2 additions and 3 deletions
|
@ -171,6 +171,7 @@
|
|||
confirmPasswordReset,
|
||||
checkActionCode,
|
||||
sendPasswordResetEmail,
|
||||
signInWithEmailAndPassword,
|
||||
} from "firebase/auth";
|
||||
|
||||
function isPasswordStrong(password) {
|
||||
|
@ -249,9 +250,7 @@
|
|||
$("main .preloader .text").text(`Your password has been changed`);
|
||||
$("main .preloader .subText").text(`You can now close this tab`);
|
||||
|
||||
firebase
|
||||
.auth()
|
||||
.signInWithEmailAndPassword(accountEmail, newPassword);
|
||||
signInWithEmailAndPassword(Auth, accountEmail, newPassword);
|
||||
})
|
||||
.catch((error) => {
|
||||
$("main .preloader .icon").html(
|
||||
|
|
Loading…
Add table
Reference in a new issue