view mod_measure_registration/mod_measure_registration.lua @ 5253:d3b2d42daaee

mod_adhoc_oauth2_client: Make note in README about current broken state It could plausibly be made to work again using the stateless method internally.
author Kim Alvefur <zash@zash.se>
date Thu, 16 Mar 2023 14:27:46 +0100
parents 32d9d155a9b9
children
line wrap: on
line source

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);