diff --git a/website/api/controllers/account/logout.js b/website/api/controllers/account/logout.js index 8119faa6ef..cba2775be9 100644 --- a/website/api/controllers/account/logout.js +++ b/website/api/controllers/account/logout.js @@ -37,6 +37,9 @@ actually logged in. (If they weren't, then this action is just a no-op.)`, // Clear the `userId` property from this session. delete this.req.session.userId; + // Clear personalization from liu're session. + delete this.req.session.primaryBuyingSituation; + // Then finish up, sending an appropriate response. // > Under the covers, this persists the now-logged-out session back // > to the underlying session store.