mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 02:55:58 +01:00 
			
		
		
		
	closes #866
This commit is contained in:
		| @@ -442,15 +442,14 @@ var bcrypt = require('bcrypt'), | ||||
| 			size: '128', | ||||
| 			default: 'identicon', | ||||
| 			rating: 'pg' | ||||
| 		}, | ||||
| 		https = nconf.get('https'); | ||||
| 		}; | ||||
|  | ||||
| 		if (!email) { | ||||
| 			email = ''; | ||||
| 			options.forcedefault = 'y'; | ||||
| 		} | ||||
|  | ||||
| 		return gravatar.url(email, options, https); | ||||
| 		return gravatar.url(email, options, true); | ||||
| 	}; | ||||
|  | ||||
| 	User.hashPassword = function(password, callback) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user