projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 0.10->trunk
[prosody.git]
/
plugins
/
mod_auth_anonymous.lua
diff --git
a/plugins/mod_auth_anonymous.lua
b/plugins/mod_auth_anonymous.lua
index a327f43816d12e356bd8e16df52ad4bde3daa931..8de46f8c27a32bc870c65f60eb9d60f82328c5ff 100644
(file)
--- a/
plugins/mod_auth_anonymous.lua
+++ b/
plugins/mod_auth_anonymous.lua
@@
-8,6
+8,7
@@
local new_sasl = require "util.sasl".new;
local datamanager = require "util.datamanager";
local new_sasl = require "util.sasl".new;
local datamanager = require "util.datamanager";
+local hosts = prosody.hosts;
-- define auth provider
local provider = {};
-- define auth provider
local provider = {};
@@
-42,7
+43,7
@@
function provider.get_sasl_handler()
end
function provider.users()
end
function provider.users()
- return next, hosts[host].sessions, nil;
+ return next, hosts[
module.
host].sessions, nil;
end
-- datamanager callback to disable writes
end
-- datamanager callback to disable writes