Mercurial > prosody-modules
view mod_log_mark/mod_log_mark.lua @ 5764:87920d436cb4
mod_http_oauth2: Handle login_hint without @hostpart
Makes life easier for the client when it does not know the full JID,
which might not have the same hostpart as the authorization server URL.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 03 Dec 2023 15:07:50 +0100 |
parents | 7be158b3376f |
children |
line wrap: on
line source
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);