mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	fix: #7567, allow invite and approval at the same time
This commit is contained in:
		| @@ -396,9 +396,9 @@ describe('authentication', function () { | ||||
| 	}); | ||||
|  | ||||
| 	it('should queue user if ip is used before', function (done) { | ||||
| 		meta.config.registrationType = 'admin-approval-ip'; | ||||
| 		meta.config.registrationApprovalType = 'admin-approval-ip'; | ||||
| 		registerUser('another@user.com', 'anotheruser', 'anotherpwd', function (err, response, body) { | ||||
| 			meta.config.registrationType = 'normal'; | ||||
| 			meta.config.registrationApprovalType = 'normal'; | ||||
| 			assert.ifError(err); | ||||
| 			assert.equal(response.statusCode, 200); | ||||
| 			assert.equal(body.message, '[[register:registration-added-to-queue]]'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user