Skip to content

Commit

Permalink
chore: remove utm_data and gclid from cookie upon logout (#17720)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayan-deriv authored Dec 4, 2024
1 parent 0eb1592 commit ff977b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/components/icon/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -921,15 +921,15 @@ import './underlying/ic-underlying-1HZ300V.svg';
import './underlying/ic-underlying-1HZ50V.svg';
import './underlying/ic-underlying-1HZ75V.svg';
import './underlying/ic-underlying-BOOM1000.svg';
import './underlying/ic-underlying-BOOM900.svg';
import './underlying/ic-underlying-BOOM600.svg';
import './underlying/ic-underlying-BOOM300N.svg';
import './underlying/ic-underlying-BOOM500.svg';
import './underlying/ic-underlying-BOOM600.svg';
import './underlying/ic-underlying-BOOM900.svg';
import './underlying/ic-underlying-CRASH1000.svg';
import './underlying/ic-underlying-CRASH600.svg';
import './underlying/ic-underlying-CRASH900.svg';
import './underlying/ic-underlying-CRASH300N.svg';
import './underlying/ic-underlying-CRASH500.svg';
import './underlying/ic-underlying-CRASH600.svg';
import './underlying/ic-underlying-CRASH900.svg';
import './underlying/ic-underlying-CRYBCHUSD.svg';
import './underlying/ic-underlying-CRYBNBUSD.svg';
import './underlying/ic-underlying-CRYBTCETH.svg';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/Services/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function endChat() {

const doLogout = response => {
if (response.logout !== 1) return undefined;
removeCookies('affiliate_token', 'affiliate_tracking', 'onfido_token');
removeCookies('affiliate_token', 'affiliate_tracking', 'onfido_token', 'gclid', 'utm_data');
localStorage.removeItem('closed_toast_notifications');
localStorage.removeItem('is_wallet_migration_modal_closed');
localStorage.removeItem('active_wallet_loginid');
Expand Down

0 comments on commit ff977b9

Please sign in to comment.