Skip to content

Node.js based forum software built for the modern web

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

Julian Lam12ff6bf1e174
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);