Fix bug of cookies settings for inviter id (#18)
This commit is contained in:
1 parent
6a871cfdab
commit
b0faf7def1
5 files changed
+25
-21
No files matched your search
@@ -27,8 +27,7 @@ export default defineComponent({
|
||||
return `${getBaseUrlAuth()}/auth/login?inviter_id=${this.inviterId}`;
|
||||
},
|
||||
inviterId() {
|
||||
const result = getCookie('INVITER_ID') || this.$route.query.inviter_id?.toString();
|
||||
console.debug('inviterId', result);
|
||||
const result = this.$route.query.inviter_id?.toString() || getCookie('INVITER_ID');
|
||||
return result;
|
||||
},
|
||||
authenticated() {
|
||||
|
||||
Reference in new issue
Block a user