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:
Julian Lam
2014-01-19 22:07:29 -05:00
parent 483ad87c1d
commit e542da1f52
4 changed files with 19 additions and 27 deletions

View File

@@ -19,6 +19,10 @@ SocketUser.emailExists = function(socket, data, callback) {
}
};
SocketUser.search = function(socket, username, callback) {
user.search(username, callback);
};
// Password Reset
SocketUser.reset = {};