Software /
code /
prosody
Changeset
13000:c7253174503e
mod_tokenauth: Fix storage API mistake in revocation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 28 Mar 2023 00:30:18 +0200 |
parents | 12999:c87ac7d1967f |
children | 13001:5883e78b6165 |
files | plugins/mod_tokenauth.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_tokenauth.lua Mon Mar 27 20:51:07 2023 +0100 +++ b/plugins/mod_tokenauth.lua Tue Mar 28 00:30:18 2023 +0200 @@ -226,7 +226,7 @@ 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)