Explorar el Código

Fix broken claims comparison

j8
Sam Whited hace 8 años
padre
commit
7fb18d1cb3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      prosody-plugins/mod_auth_token.lua

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

@@ -154,7 +154,7 @@ function provider.get_sasl_handler(session)
154 154
 		else
155 155
 			claims, msg = token_util.verify_token(token, appId, appSecret, disableRoomNameConstraints);
156 156
 		end
157
-		if claims ~= true then
157
+		if claims ~= nil then
158 158
 			-- Binds room name to the session which is later checked on MUC join
159 159
 			session.jitsi_meet_room = claims["room"];
160 160
 			return true;

Loading…
Cancelar
Guardar