Email login toast improvements

This commit is contained in:
Andrew Bastin
2021-06-11 00:25:58 -04:00
parent 9b43f9a40c
commit 07e2cb5cd9

View File

@@ -99,7 +99,8 @@ export default {
.signInWithEmail(this.form.email, actionCodeSettings)
.then(() => {
this.$toast.success("Check your inbox", {
icon: "person",
icon: "email",
duration: 0,
})
window.localStorage.setItem("emailForSignIn", this.form.email)
})
@@ -114,6 +115,7 @@ export default {
})
},
hideModal() {
this.$toast.clear()
this.$emit("hide-modal")
},
},