mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
@@ -112,6 +112,10 @@ SocketAdmin.user.unbanUser = function(socket, theirid) {
|
||||
admin.user.unbanUser(socket.uid, theirid, socket);
|
||||
};
|
||||
|
||||
SocketAdmin.user.deleteUser = function(socket, theirid, callback) {
|
||||
admin.user.deleteUser(socket.uid, theirid, callback);
|
||||
};
|
||||
|
||||
SocketAdmin.user.search = function(socket, username, callback) {
|
||||
user.search(username, function(err, data) {
|
||||
function isAdmin(userData, next) {
|
||||
|
||||
Reference in New Issue
Block a user