 UserDeleter = require("../Features/User/UserDeleter")
 EmailHandler = require("../Features/Email/EmailHandler")
 Url = require("url")
+uuid = require("node-uuid")
 
 module.exports =
 

		logger.log email: email, "password reset requested"
		User.findOne {'email':email}, (err, user)->
			if(user?)
				randomPassword = generateRandomString 12
				AuthenticationManager.setUserPassword user._id, randomPassword, (error) ->
					emailOpts =
						newPassword: randomPassword

			res.send(200)


THEME_LIST = []
do generateThemeList = () ->
	files = fs.readdirSync __dirname + '/../../../public/js/ace/theme'
