Skip to content

Commit a4b236d

Browse files
committed
Block navigating to /login when they are on /signup
1 parent 7edd68b commit a4b236d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default {
3838
if (await this.fetchCurrentSession()) {
3939
await this.fetchContestInfo()
4040
// this.$nuxt.$loading.finish()
41-
} else {
41+
} else if (this.$route.path !== '/signup') {
4242
this.$router.push('/login')
4343
}
4444
})

0 commit comments

Comments
 (0)