mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
mod_tokenauth: Set name/description on cleanup job
This commit is contained in:
parent
5425a43ba6
commit
f4c203502d
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ function sasl_handler(auth_provider, purpose, extra)
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
|
||||||
module:daily(function()
|
module:daily("clear expired grants", function()
|
||||||
for username in token_store:items() do
|
for username in token_store:items() do
|
||||||
get_user_grants(username); -- clears out expired grants
|
get_user_grants(username); -- clears out expired grants
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue