mod_register_json: fix logging message for already pending registrations' bounces.
--- a/mod_register_json/register_json/mod_register_json.lua Sun May 05 11:23:50 2013 +0200
+++ b/mod_register_json/register_json/mod_register_json.lua Sun May 05 15:19:30 2013 +0200
@@ -133,7 +133,7 @@
return http_response(event, 406, "Supplied username contains invalid characters, see RFC 6122.")
else
if pending_node[username] then
- module:log("warn", "%s attempted to submit a registration request but another request for that user is pending")
+ module:log("warn", "%s attempted to submit a registration request but another request for that user (%s) is pending", ip, username)
return http_response(event, 401, "Another user registration by that username is pending.")
end