Set SASL username when using anonymous mechanism with auth_token (#5025)
This commit is contained in:
parent
a9767eda72
commit
1b6c5a7141
|
@ -95,6 +95,7 @@ local function anonymous(self, message)
|
|||
local result, err, msg = self.profile.anonymous(self, username, self.realm);
|
||||
|
||||
if result == true then
|
||||
self.username = username;
|
||||
return "success";
|
||||
else
|
||||
|
||||
|
|
Loading…
Reference in New Issue