mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 06:48:02 +08:00
fixed verification email resending
This commit is contained in:
parent
2a32e6c53a
commit
0be16ac467
1 changed files with 1 additions and 2 deletions
|
|
@ -316,8 +316,7 @@ export function migrateFromCookies() {
|
|||
export function sendVerificationEmail() {
|
||||
Loader.show();
|
||||
let cu = firebase.auth().currentUser;
|
||||
axiosInstance
|
||||
.post("/sendEmailVerification", {})
|
||||
cu.sendEmailVerification()
|
||||
.then(() => {
|
||||
Loader.hide();
|
||||
showNotification("Email sent to " + cu.email, 4000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue