mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
added alphanumeric user search (instead of using reds), and exposed a proper socket call for user searching for non-admins
This commit is contained in:
@@ -19,6 +19,10 @@ SocketUser.emailExists = function(socket, data, callback) {
|
||||
}
|
||||
};
|
||||
|
||||
SocketUser.search = function(socket, username, callback) {
|
||||
user.search(username, callback);
|
||||
};
|
||||
|
||||
// Password Reset
|
||||
SocketUser.reset = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user