aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Mitchell <jeff@jefferai.org>2010-05-27 09:20:08 -0400
committerJeff Mitchell <jeff@jefferai.org>2010-05-27 09:20:08 -0400
commit534d1b91a46511fe3ad5c98c9a1d0766af74f770 (patch)
tree5bdbcdbf1ab6dc65548ac78b3cc94f2d63e7779c
parent990ed0f0b3ed1b1f2b6a21a225242aafc2fde39f (diff)
downloadprosody-534d1b91a46511fe3ad5c98c9a1d0766af74f770.tar.gz
prosody-534d1b91a46511fe3ad5c98c9a1d0766af74f770.zip
Have defaultauth load by default
-rw-r--r--core/modulemanager.lua2
-rw-r--r--prosody.cfg.lua.dist1
2 files changed, 2 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 8e62aecb..2847663c 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -39,7 +39,7 @@ end
local array, set = require "util.array", require "util.set";
-local autoload_modules = {"presence", "message", "iq"};
+local autoload_modules = {"presence", "message", "iq", "defaultauth"};
-- We need this to let modules access the real global namespace
local _G = _G;
diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index a17eb877..2e07b7f5 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -71,6 +71,7 @@ modules_disabled = {
-- "presence";
-- "message";
-- "iq";
+ -- "defaultauth";
};
-- Disable account creation by default, for security