mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	fixed user pwd reset
This commit is contained in:
		| @@ -803,8 +803,6 @@ var bcrypt = require('bcrypt'), | ||||
|  | ||||
| 				if(!uid) { | ||||
| 					return callback(new Error('invalid-email')); | ||||
| 				} else if(parseInt(uid, 10) !== socket.uid) { | ||||
| 					return callback(new Error('invalid-user')); | ||||
| 				} | ||||
|  | ||||
| 				// Generate a new reset code | ||||
|   | ||||
		Reference in New Issue
	
	Block a user