aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-01-13 14:36:36 +0000
committerMatthew Wild <mwild1@gmail.com>2023-01-13 14:36:36 +0000
commitcd9ef3168a72e70d758ce7f289612f13c44f0eed (patch)
tree6c5ce99c612bf005f51725a8048f168d786bafda /util
parentf987c4343e1829d6bd8ac7e5f74f189dc4f66da3 (diff)
downloadprosody-cd9ef3168a72e70d758ce7f289612f13c44f0eed.tar.gz
prosody-cd9ef3168a72e70d758ce7f289612f13c44f0eed.zip
util.paseto: Fix omitted parameter
Diffstat (limited to 'util')
-rw-r--r--util/paseto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/paseto.lua b/util/paseto.lua
index 44210b1e..9ddbe9ad 100644
--- a/util/paseto.lua
+++ b/util/paseto.lua
@@ -111,7 +111,7 @@ function v4_public.new_signer(private_key_pem, options)
end
function v4_public.new_verifier(public_key_pem, options)
- return (select(2, v4_public.init(public_key_pem, options)));
+ return (select(2, v4_public.init(nil, public_key_pem, options)));
end
return {