aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_auth_internal_hashed.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-04 16:33:41 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-04 16:33:41 +0000
commitb47c7951d54d64a3a89854bb80f5d67cc2da90ab (patch)
tree916354af1f314292b4410e1febcfe6a71e398cf0 /plugins/mod_auth_internal_hashed.lua
parentb6bf4788aa3d5c7ee847c690fcd0fbd9346a5dc7 (diff)
parenta6265e45a04a7f7d5ae39c5608f7a350be1410db (diff)
downloadprosody-b47c7951d54d64a3a89854bb80f5d67cc2da90ab.tar.gz
prosody-b47c7951d54d64a3a89854bb80f5d67cc2da90ab.zip
Merge config-updates+check-turn from timber
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
-rw-r--r--plugins/mod_auth_internal_hashed.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_auth_internal_hashed.lua b/plugins/mod_auth_internal_hashed.lua
index 1b0e76ed..cf851eef 100644
--- a/plugins/mod_auth_internal_hashed.lua
+++ b/plugins/mod_auth_internal_hashed.lua
@@ -14,7 +14,7 @@ local usermanager = require "core.usermanager";
local generate_uuid = require "util.uuid".generate;
local new_sasl = require "util.sasl".new;
local hex = require"util.hex";
-local to_hex, from_hex = hex.to, hex.from;
+local to_hex, from_hex = hex.encode, hex.decode;
local saslprep = require "util.encodings".stringprep.saslprep;
local secure_equals = require "util.hashes".equals;