diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-08-13 16:46:08 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-08-13 16:46:08 +0500 |
commit | ae63e1d1cd5b2d5024e77a32e9af2738db01b400 (patch) | |
tree | 6ed5c23755e110dfb39e5589c547a90118394535 /plugins | |
parent | 42d4cad137c929a61aff5a32fc581861206c91d1 (diff) | |
download | prosody-ae63e1d1cd5b2d5024e77a32e9af2738db01b400.tar.gz prosody-ae63e1d1cd5b2d5024e77a32e9af2738db01b400.zip |
mod_legacyauth: Updated to use module:get_option instead of configmanager
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_legacyauth.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_legacyauth.lua b/plugins/mod_legacyauth.lua index 3c4e9c82..c4fec39f 100644 --- a/plugins/mod_legacyauth.lua +++ b/plugins/mod_legacyauth.lua @@ -11,8 +11,7 @@ local st = require "util.stanza"; local t_concat = table.concat; -local config = require "core.configmanager"; -local secure_auth_only = config.get(module:get_host(), "core", "require_encryption"); +local secure_auth_only = module:get_option("require_encryption"); local sessionmanager = require "core.sessionmanager"; local usermanager = require "core.usermanager"; |