Skip to content

Commit

Permalink
Block navigating to /login when they are on /signup
Browse files Browse the repository at this point in the history
  • Loading branch information
proelbtn committed Jan 18, 2025
1 parent 7edd68b commit a4b236d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
if (await this.fetchCurrentSession()) {
await this.fetchContestInfo()
// this.$nuxt.$loading.finish()
} else {
} else if (this.$route.path !== '/signup') {
this.$router.push('/login')
}
})
Expand Down

0 comments on commit a4b236d

Please sign in to comment.