From 26f51f92e63518c818437cc9e4315065423e1bf8 Mon Sep 17 00:00:00 2001 From: Brandon Krigbaum Date: Tue, 4 Oct 2022 16:51:18 -0500 Subject: [PATCH] Retain oly_enc_id cookie on logout --- .../integration-hooks/on-logout.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/marko-web-omeda-identity-x/integration-hooks/on-logout.js b/packages/marko-web-omeda-identity-x/integration-hooks/on-logout.js index 518483949..f053ebf79 100644 --- a/packages/marko-web-omeda-identity-x/integration-hooks/on-logout.js +++ b/packages/marko-web-omeda-identity-x/integration-hooks/on-logout.js @@ -1,12 +1 @@ -const Joi = require('@parameter1/joi'); -const { validate } = require('@parameter1/joi/utils'); -const olyticsCookie = require('@parameter1/base-cms-marko-web-omeda/olytics/customer-cookie'); - -module.exports = (params = {}) => { - const { - res, - } = validate(Joi.object({ - res: Joi.object().required(), - }).unknown(), params); - olyticsCookie.clearFrom(res); -}; +module.exports = {};