author | Matthew Wild <mwild1@gmail.com> |
Wed, 01 Mar 2023 18:43:54 +0000 | |
changeset 12921 | e4de42495fb7 |
parent 12920 | 5a06d07596f9 |
child 12922 | ed20555f163a |
--- a/plugins/mod_tokenauth.lua Wed Mar 01 13:05:17 2023 +0000 +++ b/plugins/mod_tokenauth.lua Wed Mar 01 18:43:54 2023 +0000 @@ -49,6 +49,7 @@ end local function parse_token(encoded_token) + if not encoded_token then return nil; end local token = base64.decode(encoded_token); if not token then return nil; end local token_jid, token_id = token:match("^1;([^;]+);(.+)$");