check on the checkMail page which url path is attached

This commit is contained in:
ogerly 2022-01-21 13:15:34 +01:00
parent 2f0f6d7db7
commit 40021fb46f

View File

@ -92,9 +92,10 @@ export default {
})
.then(() => {
this.form.password = ''
if (textFields.checkEmail) {
if (this.$route.path.includes('checkEmail')) {
this.$router.push('/thx/checkEmail')
} else {
}
if (this.$route.path.includes('reset')) {
this.$router.push('/thx/reset')
}
})