Node.js based forum software built for the modern web
revoke sessions as soon as user is banned
psychobunnyc330218920ff
diff --git a/src/socket.io/user/ban.js b/src/socket.io/user/ban.jsindex 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);};