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

Commit

Permalink
Merge pull request #439 from brandonbk/oly_end_id_retain
Browse files Browse the repository at this point in the history
Retain oly_enc_id cookie on logout
  • Loading branch information
brandonbk authored Oct 4, 2022
2 parents edb1abe + 26f51f9 commit 266ee28
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 266ee28

Please sign in to comment.