geer-builder 1.2.928 → 1.2.930
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/GRegistration.vue +4 -4
- package/mixins/global_mixins.js +4 -0
- package/package.json +1 -1
package/GRegistration.vue
CHANGED
|
@@ -217,14 +217,14 @@ export default
|
|
|
217
217
|
|
|
218
218
|
if(this.$route.query.hasOwnProperty('sponsor') || sessionStorage.referral_slot_code)
|
|
219
219
|
{
|
|
220
|
-
if(this.$route.query.sponsor)
|
|
221
|
-
{
|
|
222
|
-
this.form_data.sponsor = this.$route.query.sponsor;
|
|
223
|
-
}
|
|
224
220
|
if(sessionStorage.referral_slot_code)
|
|
225
221
|
{
|
|
226
222
|
this.form_data.sponsor = sessionStorage.referral_slot_code;
|
|
227
223
|
}
|
|
224
|
+
if(this.$route.query.sponsor)
|
|
225
|
+
{
|
|
226
|
+
this.form_data.sponsor = this.$route.query.sponsor;
|
|
227
|
+
}
|
|
228
228
|
}
|
|
229
229
|
if(this.terms_and_conditions.hasOwnProperty('international_country_registration'))
|
|
230
230
|
{
|
package/mixins/global_mixins.js
CHANGED
|
@@ -160,12 +160,16 @@ export default
|
|
|
160
160
|
},
|
|
161
161
|
async $_logout()
|
|
162
162
|
{
|
|
163
|
+
sessionStorage.removeItem('referral_slot_code');
|
|
164
|
+
sessionStorage.removeItem('reseller_slot_code');
|
|
163
165
|
this.$router.push({ name: 'front_home' });
|
|
164
166
|
const AccountClass = new FAccountClass();
|
|
165
167
|
AccountClass.signOut();
|
|
166
168
|
},
|
|
167
169
|
async $_logoutFrontLogin()
|
|
168
170
|
{
|
|
171
|
+
sessionStorage.removeItem('referral_slot_code');
|
|
172
|
+
sessionStorage.removeItem('reseller_slot_code');
|
|
169
173
|
this.$router.push({ name: 'front_login' });
|
|
170
174
|
const AccountClass = new FAccountClass();
|
|
171
175
|
AccountClass.signOut();
|