diff options
-rw-r--r-- | plugins/mod_tokenauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) |