diff --git a/src/socket.io/user/ban.js b/src/socket.io/user/ban.js index 084307c017..8d31a2b341 100644 --- a/src/socket.io/user/ban.js +++ b/src/socket.io/user/ban.js @@ -36,6 +36,9 @@ module.exports = function (SocketUser) { }); next(); }, + function (next) { + user.auth.revokeAllSessions(uid, next); + }, ], next); }, callback); };