Merge pull request #4121 from Ocelot-Social-Community/start_on_registration

start_on_register
This commit is contained in:
Ulf Gebhardt 2021-01-14 15:15:46 +01:00 committed by GitHub
commit 2b8996a898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,5 +22,5 @@ export default async ({ store, env, route, redirect }) => {
params.path = route.path
}
return redirect('/login', params)
return redirect('/registration/signup', params)
}

View File

@ -18,7 +18,7 @@ export default {
layout: 'blank',
async beforeCreate() {
await this.$store.dispatch('auth/logout')
this.$router.replace('/')
this.$router.replace('/login')
},
}
</script>