From 12ff6bf1e1749b2ebda075cc71673d89a010023d Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 16 May 2013 21:32:28 -0400 Subject: [PATCH] removing server-side registration info check (as it conflicts with social network registrations) --- src/user.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/user.js b/src/user.js index 18d380f654..693a4f3b20 100644 --- a/src/user.js +++ b/src/user.js @@ -255,8 +255,6 @@ var config = require('../config.js'), User.create = function(username, password, email, callback) { User.exists(username, function(exists) { - if (exists || email.indexOf('@') === -1 /*|| password.length < 5*/) return callback(null, -1); - RDB.incr('global:next_user_id', function(err, uid) { RDB.handle(err);