diff options
-rw-r--r-- | DEPENDS | 1 | ||||
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -3,7 +3,6 @@ The easiest way to install dependencies is using the luarocks tool. Rocks: luaexpat luasocket -lbase64 Non-rocks: LuaSec for SSL connections diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index f549d0b9..c8912eae 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -2,7 +2,7 @@ local st = require "util.stanza"; local sm_bind_resource = require "core.sessionmanager".bind_resource; local jid -local base64 = require "base64" +local base64 = require "util.encodings".base64; local usermanager_validate_credentials = require "core.usermanager".validate_credentials; local t_concat, t_insert = table.concat, table.insert; |