mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	removing server-side registration info check (as it conflicts with social network registrations)
This commit is contained in:
		| @@ -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); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user