diff options
| author | shpuld <shp@cock.li> | 2018-12-29 16:25:45 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2018-12-29 16:25:45 +0200 |
| commit | 16c7bd0199717e705697ddcce100cc2141eb0afc (patch) | |
| tree | f96ed970d6106a4be664201424f859dcce891f33 /src/components/registration/registration.js | |
| parent | 747e4090cabfda353e76c9a45def70bef8c297e5 (diff) | |
| parent | 1555a5fef38dced753c418d736468712ea818975 (diff) | |
merge develop, fix conflicts, fix logged out bug
Diffstat (limited to 'src/components/registration/registration.js')
| -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 dd8e6e5d..ab6cd64d 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({name: 'root'}) } this.setCaptcha() @@ -58,7 +58,7 @@ const registration = { if (!this.$v.$invalid) { try { await this.signUp(this.user) - this.$router.push('/~/main/friends') + this.$router.push({name: 'friends'}) } catch (error) { console.warn('Registration failed: ' + error) } |
