mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-10 15:54:49 +08:00
using credentials instead of pass to reauthenticate before updating the email address
This commit is contained in:
parent
e20821cd0f
commit
feaee81711
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ list.updateEmail = new SimplePopup(
|
|||
pass
|
||||
);
|
||||
Loader.show();
|
||||
user.reauthenticateWithCredential(pass).then(() => {
|
||||
user.reauthenticateWithCredential(credential).then(() => {
|
||||
CloudFunctions.updateEmail({
|
||||
uid: user.uid,
|
||||
previousEmail: previousEmail,
|
||||
|
|
Loading…
Reference in a new issue