diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-07 02:43:57 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-07 02:43:57 +0100 |
commit | 9726ab31dbf3a4874ce78e1bd5174f80a366cdd5 (patch) | |
tree | 1d1c716a40bc81e050185e108df23b86bc6cb393 /plugins | |
parent | 67f8011e81614c5bf876f983990915b8641fcde3 (diff) | |
parent | d7bbafcd372997dbec05e0dec67c1da41968050f (diff) | |
download | prosody-9726ab31dbf3a4874ce78e1bd5174f80a366cdd5.tar.gz prosody-9726ab31dbf3a4874ce78e1bd5174f80a366cdd5.zip |
Merge 0.9->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_auth_anonymous.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_auth_anonymous.lua b/plugins/mod_auth_anonymous.lua index c080177d..3cb7cf98 100644 --- a/plugins/mod_auth_anonymous.lua +++ b/plugins/mod_auth_anonymous.lua @@ -32,9 +32,10 @@ function new_default_provider(host) return nil, "Account creation/modification not supported."; end - function provider.get_sasl_handler() + function provider.get_sasl_handler(session) 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 }; |