# HG changeset patch # User Marco Cirillo # Date 1302622590 0 # Node ID 5dacfbc9cd866909176fc553bd5764ed7e497f1a # Parent a5da789b2e7d114dddb477bf5b535bd1456a996f mod_register_json: Fixed missing close quote. diff -r a5da789b2e7d -r 5dacfbc9cd86 mod_register_json/mod_register_json.lua --- a/mod_register_json/mod_register_json.lua Tue Apr 12 15:25:37 2011 +0000 +++ b/mod_register_json/mod_register_json.lua Tue Apr 12 15:36:30 2011 +0000 @@ -53,7 +53,7 @@ if req_body["password"]:match("%s") then module:log("debug", "Password submitted for user registration by %s contained spaces.", user); return http_response(400, "Supplied user passwords can't contain spaces."); end -- We first check if the supplied username for registration is already there. if not usermanager.user_exists(req_body["username"], req_body["host"]) then - usermanager.create_user(req_body["username"], req_body["password"], req_body["host]); + usermanager.create_user(req_body["username"], req_body["password"], req_body["host"]); module:log("debug", "%s registration data submission for %s is successful", user, req_body["user"]); return http_response(200, "Done."); else