- start with register page

- on logout force to go to login page
This commit is contained in:
Ulf Gebhardt 2021-01-10 00:12:29 +01:00
parent 156d54e3e7
commit 81e42d6f58
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
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>