Added support for party invites by email (#9665)

* Added support for party invites by email

* Changed to groupInvite
This commit is contained in:
Keith Holliday
2017-12-07 12:57:01 -05:00
committed by GitHub
parent 57193bd5f3
commit 759ce61492
2 changed files with 9 additions and 0 deletions
@@ -598,11 +598,17 @@
return;
}
let groupInvite = '';
if (this.$route.query && this.$route.query.groupInvite) {
groupInvite = this.$route.query.groupInvite;
}
await this.$store.dispatch('auth:register', {
username: this.username,
email: this.email,
password: this.password,
passwordConfirm: this.passwordConfirm,
groupInvite,
});
let redirectTo;