mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #4121 from Ocelot-Social-Community/start_on_registration
start_on_register
This commit is contained in:
commit
2b8996a898
@ -22,5 +22,5 @@ export default async ({ store, env, route, redirect }) => {
|
||||
params.path = route.path
|
||||
}
|
||||
|
||||
return redirect('/login', params)
|
||||
return redirect('/registration/signup', params)
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ export default {
|
||||
layout: 'blank',
|
||||
async beforeCreate() {
|
||||
await this.$store.dispatch('auth/logout')
|
||||
this.$router.replace('/')
|
||||
this.$router.replace('/login')
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user