Skip to content

Commit

Permalink
fix: redirect to dashboard after registration
Browse files Browse the repository at this point in the history
  • Loading branch information
jkklapp committed May 25, 2022
1 parent eae9da0 commit 169444c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/components/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export default {
.updateProfile({
displayName: this.form.name,
})
.then(() => {});
.then(() => {
this.$router.replace({ name: 'Dashboard' });
});
})
.catch((err) => {
this.error = err.message;
Expand Down

0 comments on commit 169444c

Please sign in to comment.