mod_sasl2: Fix <challenge> generation
- We are just adding child text data, so the correct method is :text()
- The data should be base64-encoded, but it was being sent raw
local count_registering = module:measure("user_registering", "rate");
local count_registered = module:measure("user_registered", "rate");
module:hook("user-registering", function ()
count_registering();
end);
module:hook("user-registered", function ()
count_registered();
end);