瀏覽代碼

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

master
Pedro Henrique Linhares 5 年之前
父節點
當前提交
1b6c5a7141
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      resources/prosody-plugins/mod_auth_token.lua

+ 1
- 0
resources/prosody-plugins/mod_auth_token.lua 查看文件

@@ -95,6 +95,7 @@ local function anonymous(self, message)
95 95
 	local result, err, msg = self.profile.anonymous(self, username, self.realm);
96 96
 
97 97
 	if result == true then
98
+		self.username = username;
98 99
 		return "success";
99 100
 	else
100 101
 

Loading…
取消
儲存