 			UserDeleter.deleteUser user._id, (err)->
 				if err?
 					throw err
-				done()+				done()

		done = @async()
		email = grunt.option("email")
		if !email?
			console.error "Usage: grunt user:delete --email joe@example.com"
			process.exit(1)
		settings = require "settings-sharelatex"
		UserGetter = require "../web/app/js/Features/User/UserGetter"
		UserDeleter = require "../web/app/js/Features/User/UserDeleter"
		UserGetter.getUser email:email, (error, user) ->
			if error?
				throw error

		done = @async()
		email = grunt.option("email")
		if !email?
			console.error "Usage: grunt user:create-admin --email=joe@example.com"
			process.exit(1)

		settings = require "settings-sharelatex"
		UserRegistrationHandler = require "../web/app/src/Features/User/UserRegistrationHandler"
		OneTimeTokenHandler = require "../web/app/src/Features/Security/OneTimeTokenHandler"
		UserRegistrationHandler.registerNewUser {
			email: email
			password: require("crypto").randomBytes(32).toString("hex")
