HotFix Invite redirect

This commit is contained in:
Kekskurse 2019-11-27 17:18:34 +01:00
parent 56bcbc6be3
commit 71e64815ef

View file

@ -73,6 +73,7 @@
UserService.getInviteCodeInfo(this.code).then((res) => { UserService.getInviteCodeInfo(this.code).then((res) => {
if(res.data.data.usable) { if(res.data.data.usable) {
this.errorMsg = ""; this.errorMsg = "";
this.$router.push({name: 'Register', query: {code: this.code}});
} else { } else {
this.errorMsg = "Invite code not valide"; this.errorMsg = "Invite code not valide";
} }