diff options
author | Kim Alvefur <zash@zash.se> | 2023-03-24 13:15:28 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-03-24 13:15:28 +0100 |
commit | 98922d54b12086c9e71c55dcb9c766d584522552 (patch) | |
tree | 70ab8d93827b088e4585a59e9fc2493c33c0deda /plugins/mod_saslauth.lua | |
parent | 8136aa749a76e4fbb5b7e3cc34c878733647b8e9 (diff) | |
download | prosody-98922d54b12086c9e71c55dcb9c766d584522552.tar.gz prosody-98922d54b12086c9e71c55dcb9c766d584522552.zip |
plugins: Prefix module imports with prosody namespace
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r-- | plugins/mod_saslauth.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 7bcdbb2b..47f33a87 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -8,14 +8,14 @@ -- luacheck: ignore 431/log -local st = require "util.stanza"; -local sm_bind_resource = require "core.sessionmanager".bind_resource; -local sm_make_authenticated = require "core.sessionmanager".make_authenticated; -local base64 = require "util.encodings".base64; -local set = require "util.set"; -local errors = require "util.error"; - -local usermanager_get_sasl_handler = require "core.usermanager".get_sasl_handler; +local st = require "prosody.util.stanza"; +local sm_bind_resource = require "prosody.core.sessionmanager".bind_resource; +local sm_make_authenticated = require "prosody.core.sessionmanager".make_authenticated; +local base64 = require "prosody.util.encodings".base64; +local set = require "prosody.util.set"; +local errors = require "prosody.util.error"; + +local usermanager_get_sasl_handler = require "prosody.core.usermanager".get_sasl_handler; local secure_auth_only = module:get_option_boolean("c2s_require_encryption", module:get_option_boolean("require_encryption", true)); local allow_unencrypted_plain_auth = module:get_option_boolean("allow_unencrypted_plain_auth", false) |