Skip to content

Commit

Permalink
fix(login-view): return url
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-IS authored Oct 2, 2023
2 parents 84ccb09 + 6f5f7fc commit 998c6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/login/login-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
this.$emit('transitionToRegister')
}
} else {
await this.loginWallet({ idx, returnUrl: this.isOnboarding ? 'create' : this.$route.query.returnUrl || 'home' })
await this.loginWallet({ idx, returnUrl: this.isOnboarding ? 'create' : this.$route.query.returnUrl || '/' })
}
},
async onLoginInApp () {
Expand All @@ -66,7 +66,7 @@ export default {
this.submitting = true
this.errorPrivateKey = await this.loginInApp({
...this.form,
returnUrl: this.isOnboarding ? 'create' : this.$route.query.returnUrl || 'home'
returnUrl: this.isOnboarding ? 'create' : this.$route.query.returnUrl || '/'
})
this.submitting = false
},
Expand Down

0 comments on commit 998c6b2

Please sign in to comment.