trunk

changeset 4948:2c1de519f639

Merge with backout
author Matthew Wild <mwild1@gmail.com>
date Sun, 08 Jul 2012 18:48:28 +0100
parents 2975c7008ccd 6d9317ea79b2
children 521976cb56e6 02e5e9fa37b8
files
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/plugins/mod_auth_anonymous.lua	Sun Jul 08 18:47:05 2012 +0100
     1.2 +++ b/plugins/mod_auth_anonymous.lua	Sun Jul 08 18:48:28 2012 +0100
     1.3 @@ -32,10 +32,9 @@
     1.4  		return nil, "Account creation/modification not supported.";
     1.5  	end
     1.6  
     1.7 -	function provider.get_sasl_handler(session)
     1.8 +	function provider.get_sasl_handler()
     1.9  		local anonymous_authentication_profile = {
    1.10  			anonymous = function(sasl, username, realm)
    1.11 -				session.roster = {}; -- so that the null storage backend doesn't upset rostermanager
    1.12  				return true; -- for normal usage you should always return true here
    1.13  			end
    1.14  		};