Fix redirect paths
This commit is contained in:
parent
54c6438b17
commit
7d5794b9fa
6 changed files with 9 additions and 9 deletions
|
@ -27,7 +27,7 @@ const registration = {
|
|||
},
|
||||
created () {
|
||||
if ((!this.registrationOpen && !this.token) || this.signedIn) {
|
||||
this.$router.push('/main/all')
|
||||
this.$router.push('/p/main/all')
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
@ -51,7 +51,7 @@ const registration = {
|
|||
if (!this.$v.$invalid) {
|
||||
try {
|
||||
await this.signUp(this.user)
|
||||
this.$router.push('/main/friends')
|
||||
this.$router.push('/p/main/friends')
|
||||
} catch (error) {
|
||||
console.warn('Registration failed: ' + error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue