Skip to content

Commit

Permalink
Rename redirect param to 'next'
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jan 18, 2025
1 parent 198daa9 commit eda081b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/router.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/views/SignIn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default {
})
},
done() {
const path = this.$route.query.redirect || '/dashboard'
const path = this.$route.query.next || '/dashboard'
this.$router.push({ path: path, query: { signinSuccess: 'true' } })
}
},
Expand Down

0 comments on commit eda081b

Please sign in to comment.