# HG changeset patch # User Matthew Wild # Date 1341769708 -3600 # Node ID 2c1de519f639567beba869151de156f62816a29b # Parent 2975c7008ccdaacb929e1da5333c2b0db9551cae# Parent 6d9317ea79b2f2053a65b1756bd7551f2f94e96c Merge with backout diff -r 2975c7008ccd -r 2c1de519f639 plugins/mod_auth_anonymous.lua --- a/plugins/mod_auth_anonymous.lua Sun Jul 08 18:47:05 2012 +0100 +++ b/plugins/mod_auth_anonymous.lua Sun Jul 08 18:48:28 2012 +0100 @@ -32,10 +32,9 @@ 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 };