aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/registration/registration.js')
-rw-r--r--src/components/registration/registration.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index a6c79e87..65b2fb9b 100644
--- a/src/components/registration/registration.js
+++ b/src/components/registration/registration.js
@@ -28,7 +28,7 @@ const registration = {
},
created () {
if ((!this.registrationOpen && !this.token) || this.signedIn) {
- this.$router.push('/main/all')
+ this.$router.push('/~/main/all')
}
this.setCaptcha()
@@ -56,7 +56,7 @@ const registration = {
if (!this.$v.$invalid) {
try {
await this.signUp(this.user)
- this.$router.push('/main/friends')
+ this.$router.push('/~/main/friends')
} catch (error) {
console.warn('Registration failed: ' + error)
}