revoke sessions as soon as user is banned

v1.18.x
psychobunny 8 years ago
parent 17ca1d33fb
commit c330218920

@ -36,6 +36,9 @@ module.exports = function (SocketUser) {
});
next();
},
function (next) {
user.auth.revokeAllSessions(uid, next);
},
], next);
}, callback);
};

Loading…
Cancel
Save