Explorar el Código

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

master
Pedro Henrique Linhares hace 5 años
padre
commit
1b6c5a7141
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      resources/prosody-plugins/mod_auth_token.lua

+ 1
- 0
resources/prosody-plugins/mod_auth_token.lua Ver fichero

@@ -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…
Cancelar
Guardar