mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +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:
@@ -47,7 +47,7 @@ define(function() {
|
||||
jQuery('#user-notfound-notify').html('<i class="fa fa-spinner fa-spin"></i>');
|
||||
|
||||
setTimeout(function() {
|
||||
socket.emit('admin.user.search', username, function(err, data) {
|
||||
socket.emit('user.search', username, function(err, data) {
|
||||
if(err) {
|
||||
return app.alert(err.message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user