Skip to content

Commit

Permalink
MWPW-151792 | Acomsis cookie (#339)
Browse files Browse the repository at this point in the history
Found a typo that creates a bug from #337

Resolves: MWPW-151792

Test URLs:

Before: https://stage--cc--adobecom.hlx.live/careers?martech=off
After: https://acomsis-cookie--cc--adobecom.hlx.live/careers?martech=off
  • Loading branch information
seanchoi-dev authored Jun 11, 2024
1 parent 4edc605 commit 8c4b648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion creativecloud/scripts/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export async function acomsisCookieHandler() {
document.cookie = `${COOKIE_SIGNED_IN}=;path=/;expires=${new Date(0).toUTCString()};`;
document.cookie = `${COOKIE_SIGNED_IN}=;path=/;expires=${new Date(0).toUTCString()};domain=adobe.com;`;
} else {
document.cookie = `${COOKIE_SIGNED_IN_STAGE}=;path=/;expires=${new Date(0).toUTCString()};domain='www.stage.adobe.com;`;
document.cookie = `${COOKIE_SIGNED_IN_STAGE}=;path=/;expires=${new Date(0).toUTCString()};domain=www.stage.adobe.com;`;
}
window.location.reload();
}
Expand Down

0 comments on commit 8c4b648

Please sign in to comment.