Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Retain oly_enc_id cookie on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonbk committed Oct 4, 2022
1 parent edb1abe commit 26f51f9
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
@@ -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 = {};

0 comments on commit 26f51f9

Please sign in to comment.