aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-10-21 12:56:39 +0200
committerKim Alvefur <zash@zash.se>2023-10-21 12:56:39 +0200
commitf4c203502d7259e673fe1c1714b5d50611a4b825 (patch)
treea5c4e322e373de14be9fab274c7884b5f9801ab5 /plugins
parent5425a43ba6443e2bfd31a09737aae152f5009580 (diff)
downloadprosody-f4c203502d7259e673fe1c1714b5d50611a4b825.tar.gz
prosody-f4c203502d7259e673fe1c1714b5d50611a4b825.zip
mod_tokenauth: Set name/description on cleanup job
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_tokenauth.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tokenauth.lua b/plugins/mod_tokenauth.lua
index 6034071a..35fb08c5 100644
--- a/plugins/mod_tokenauth.lua
+++ b/plugins/mod_tokenauth.lua
@@ -347,7 +347,7 @@ function sasl_handler(auth_provider, purpose, extra)
end;
end
-module:daily(function()
+module:daily("clear expired grants", function()
for username in token_store:items() do
get_user_grants(username); -- clears out expired grants
end