diff options
| author | Maxim Filippov <colixer@gmail.com> | 2018-12-06 20:23:47 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2018-12-06 22:10:46 +0300 |
| commit | 7d5794b9fa5db8fcf2a6169ab3d3dcda17b04326 (patch) | |
| tree | 25141e1b9b253549b0d1836ff5b91354410afb0f /src/components/registration | |
| parent | 54c6438b1704039323f99321e7e03505461576e0 (diff) | |
Fix redirect paths
Diffstat (limited to 'src/components/registration')
| -rw-r--r-- | src/components/registration/registration.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index e5ead8bc..b714c38e 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -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) } |
