# HG changeset patch # User Matthew Wild # Date 1341769702 -3600 # Node ID 6d9317ea79b2f2053a65b1756bd7551f2f94e96c # Parent 72a2eec4204abe85d9bf37374fc5f3696886456a Backed out changeset 72a2eec4204a (incomplete fix) diff -r 72a2eec4204a -r 6d9317ea79b2 plugins/mod_auth_anonymous.lua --- a/plugins/mod_auth_anonymous.lua Sat Jul 07 03:42:31 2012 +0200 +++ b/plugins/mod_auth_anonymous.lua Sun Jul 08 18:48:22 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 };