removing server-side registration info check (as it conflicts with social network registrations)

v1.18.x
Julian Lam 12 years ago
parent 8b1ff03cbb
commit 12ff6bf1e1

@ -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);

Loading…
Cancel
Save