diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-08 18:48:22 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-08 18:48:22 +0100 |
commit | ff4d31cd03974874de3ea7d0d09ccc852aee4531 (patch) | |
tree | e1506652c104ab88979a3d5527ce9e236f474b30 /plugins | |
parent | 7180665b081fef6f162e5b06564ebf515d2515f7 (diff) | |
download | prosody-ff4d31cd03974874de3ea7d0d09ccc852aee4531.tar.gz prosody-ff4d31cd03974874de3ea7d0d09ccc852aee4531.zip |
Backed out changeset 72a2eec4204a (incomplete fix)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_auth_anonymous.lua | 3 |
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 }; |