diff --git a/api.planx.uk/modules/auth/controller.ts b/api.planx.uk/modules/auth/controller.ts index 458487ad6c..9c7e6351ca 100644 --- a/api.planx.uk/modules/auth/controller.ts +++ b/api.planx.uk/modules/auth/controller.ts @@ -8,6 +8,13 @@ export const failedLogin: RequestHandler = (_req, _res, next) => }); export const logout: RequestHandler = (req, res) => { + + console.log("Logging out due to request...") + console.log(req) + + console.log("And the user specifically...") + console.log(req.user) + req.logout(() => { // do nothing });