Software /
code /
prosody
Diff
util/sasl/anonymous.lua @ 3981:2b0b8fe68df2
util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter to SASL profile callbacks.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 27 Dec 2010 19:57:04 +0500 |
parent | 3155:c713fa2ba80c |
child | 4113:65482a852c4d |
line wrap: on
line diff
--- a/util/sasl/anonymous.lua Mon Dec 27 19:43:57 2010 +0500 +++ b/util/sasl/anonymous.lua Mon Dec 27 19:57:04 2010 +0500 @@ -34,7 +34,7 @@ local username; repeat username = generate_uuid(); - until self.profile.anonymous(username, self.realm); + until self.profile.anonymous(self, username, self.realm); self.username = username; return "success" end