projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
874649c
)
Backed out changeset 72a2eec4204a (incomplete fix)
author
Matthew Wild
<mwild1@gmail.com>
Sun, 8 Jul 2012 17:48:22 +0000
(18:48 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Sun, 8 Jul 2012 17:48:22 +0000
(18:48 +0100)
plugins/mod_auth_anonymous.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_auth_anonymous.lua
b/plugins/mod_auth_anonymous.lua
index 3cb7cf98b2cbb9bc8d8fdd3a806a3486bcffbddc..c080177d5fb4ebfeac62044224de0133bb6338f5 100644
(file)
--- a/
plugins/mod_auth_anonymous.lua
+++ b/
plugins/mod_auth_anonymous.lua
@@
-32,10
+32,9
@@
function new_default_provider(host)
return nil, "Account creation/modification not supported.";
end
- function provider.get_sasl_handler(
session
)
+ function provider.get_sasl_handler()
local anonymous_authentication_profile = {
anonymous = function(sasl, username, realm)
- session.roster = {}; -- so that the null storage backend doesn't upset rostermanager
return true; -- for normal usage you should always return true here
end
};