ソースを参照

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
 

読み込み中…
キャンセル
保存