Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Set SASL username when using anonymous mechanism with auth_token (#5025)

Pedro Henrique Linhares1b6c5a714153
diff --git a/resources/prosody-plugins/mod_auth_token.lua b/resources/prosody-plugins/mod_auth_token.lua
index 7523514562..102780f838 100644
--- a/resources/prosody-plugins/mod_auth_token.lua
+++ b/resources/prosody-plugins/mod_auth_token.lua
@@ -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