add code to push

This commit is contained in:
ogerly 2022-03-21 12:11:59 +01:00
parent 6d257825e2
commit 042741a9aa

View File

@ -96,7 +96,11 @@ export default {
.then(() => {
this.form.password = ''
if (this.$route.path.includes('checkEmail')) {
this.$router.push('/thx/checkEmail')
if (this.$route.params.code) {
this.$router.push('/thx/checkEmail/' + this.$route.params.code)
} else {
this.$router.push('/thx/checkEmail')
}
} else {
this.$router.push('/thx/resetPassword')
}