From 41c23d561674d483905220b7b0961a66a185f52b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 28 Mar 2023 00:30:18 +0200 Subject: mod_tokenauth: Fix storage API mistake in revocation --- plugins/mod_tokenauth.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_tokenauth.lua b/plugins/mod_tokenauth.lua index 04cc37a1..94c740c0 100644 --- a/plugins/mod_tokenauth.lua +++ b/plugins/mod_tokenauth.lua @@ -226,7 +226,7 @@ function revoke_token(token) if token_host ~= module.host then return nil, "invalid-host"; end - return token_store:set(token_user, token_id, nil); + return token_store:set_key(token_user, token_id, nil); end function sasl_handler(auth_provider, purpose, extra) -- cgit v1.2.3