Removes username check which doesn't do any good #402

Merged
merged 1 commit into from Aug 20, 2012
View
@@ -69,12 +69,6 @@ User.put = function (req, res, next) {
},400);
return true;
}
- if (user.match(/^[a-z0-9]+$/i) === null){
- res.json({
- status: "failure - invalid username. must be alphanumeric"
- },400);
- return true;
- }
var db = lib.get_couchdb_database('nodefu');
db.get(user._id, function (err, doc) {
if (err) {