diff --git a/src/api/endpoints/auth/session/userkey.js b/src/api/endpoints/auth/session/userkey.js index 9905d7d844..2a93421df8 100644 --- a/src/api/endpoints/auth/session/userkey.js +++ b/src/api/endpoints/auth/session/userkey.js @@ -96,9 +96,15 @@ module.exports = (params) => }); // Delete session + + /* https://github.com/Automattic/monk/issues/178 AuthSess.deleteOne({ _id: session._id }); + */ + AuthSess.remove({ + _id: session._id + }); // Response res({