aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-08 18:48:28 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-08 18:48:28 +0100
commit2fcd8af884edb9278d2c0cb770c879c43badd2c2 (patch)
tree03f7a2da185371615ec7ca54b84c5f0aaafec986 /plugins
parent518414dbf7c6d45ca115b080b0fe19f6fdf93cc7 (diff)
parented8cf4230df5d2b6d5118cd0912c285e00d9331a (diff)
downloadprosody-2fcd8af884edb9278d2c0cb770c879c43badd2c2.tar.gz
prosody-2fcd8af884edb9278d2c0cb770c879c43badd2c2.zip
Merge with backout
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_auth_anonymous.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua
index 3cb7cf98..c080177d 100644
--- 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
};