Update frontend/src/views/Pages/ResetPassword.vue

Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
This commit is contained in:
Alexander Friedland 2022-01-21 19:01:12 +01:00 committed by GitHub
parent 9e4dc2add7
commit 14e51b9f87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,8 +94,7 @@ export default {
this.form.password = ''
if (this.$route.path.includes('checkEmail')) {
this.$router.push('/thx/checkEmail')
}
if (this.$route.path.includes('reset')) {
} else if (this.$route.path.includes('reset')) {
this.$router.push('/thx/reset')
}
})