Diff

plugins/mod_tokenauth.lua @ 13276:c34266c061c9

mod_tokenauth: Set name/description on cleanup job
author Kim Alvefur <zash@zash.se>
date Sat, 21 Oct 2023 12:56:39 +0200
parent 13275:5db61e0dfc62
child 13305:852a61c720d0
line wrap: on
line diff
--- a/plugins/mod_tokenauth.lua	Sat Oct 21 12:33:55 2023 +0200
+++ b/plugins/mod_tokenauth.lua	Sat Oct 21 12:56:39 2023 +0200
@@ -347,7 +347,7 @@
 	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