Email login toast improvements
This commit is contained in:
@@ -99,7 +99,8 @@ export default {
|
|||||||
.signInWithEmail(this.form.email, actionCodeSettings)
|
.signInWithEmail(this.form.email, actionCodeSettings)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$toast.success("Check your inbox", {
|
this.$toast.success("Check your inbox", {
|
||||||
icon: "person",
|
icon: "email",
|
||||||
|
duration: 0,
|
||||||
})
|
})
|
||||||
window.localStorage.setItem("emailForSignIn", this.form.email)
|
window.localStorage.setItem("emailForSignIn", this.form.email)
|
||||||
})
|
})
|
||||||
@@ -114,6 +115,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
hideModal() {
|
hideModal() {
|
||||||
|
this.$toast.clear()
|
||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user