mod_log_mark/mod_log_mark.lua
author Kim Alvefur <zash@zash.se>
Sun, 12 Mar 2023 12:06:44 +0100
changeset 5250 fd0d25b42cd9
parent 2178 7be158b3376f
permissions -rw-r--r--
mod_http_oauth2: Validate all URIs against client_uri in client registration Validating against all redirect URIs didn't work for OOB-only clients, which happens to be what I was testing with.

module:set_global();

local log = _G.log;

module:add_timer(60-os.date("%S"), function (now)
	log("info", "-- MARK --");
	return 90 - ((now + 30) % 60);
end);